Skip to content

Commit

Permalink
FIX : Build
Browse files Browse the repository at this point in the history
  • Loading branch information
kishorereddy committed May 31, 2019
1 parent 7161376 commit 90dbf90
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lib/kotlin/slatekit-generator/build.gradle
Expand Up @@ -2,7 +2,7 @@ apply from: '../../../../build/gradle/slatekit-common.gradle'

buildscript {
ext.kotlin_version = '1.3.21'
ext.slatekit_version = new File('../version.txt').text
ext.slatekit_version = '0.9.27' //new File('../version.txt').text

repositories {
jcenter()
Expand Down Expand Up @@ -77,16 +77,17 @@ dependencies {
compile 'com.squareup.okhttp3:okhttp:3.9.0'
compile 'org.threeten:threetenbp:1.3.8'

/* <slatekit_local>
///* <slatekit_local>
if( slatekitSetupViaMaven ) {
compile "com.slatekit:slatekit-results:$slatekit_version"
compile "com.slatekit:slatekit-common:$slatekit_version"
compile "com.slatekit:slatekit-apis:$slatekit_version"
} else {
// */
compile project(":slatekit-result")
compile project(":slatekit-common")
compile project(":slatekit-apis")
//} //</slatekit_local>
} //</slatekit_local>
}

// ==================================================================
Expand Down
2 changes: 2 additions & 0 deletions src/lib/kotlin/slatekit/build.gradle
Expand Up @@ -119,6 +119,8 @@ dependencies {
compile project(":slatekit-workers")
//compile project(":slatekit-support")
} //</slatekit_local>

implementation project(":slatekit-generator")
}

// https://www.anexinet.com/blog/six-ways-to-package-a-java-application-with-gradle/
Expand Down
3 changes: 3 additions & 0 deletions src/lib/kotlin/slatekit/settings.gradle
Expand Up @@ -33,6 +33,9 @@ project(':slatekit-apis').projectDir=new File('../slatekit-apis')
include ':slatekit-cloud'
project(':slatekit-cloud').projectDir=new File('../slatekit-cloud')

include ':slatekit-generator'
project(':slatekit-generator').projectDir=new File('../slatekit-generator')

include ':slatekit-integration'
project(':slatekit-integration').projectDir=new File('../slatekit-integration')

Expand Down

0 comments on commit 90dbf90

Please sign in to comment.