diff --git a/build.gradle b/build.gradle index 7b7119f..5151357 100644 --- a/build.gradle +++ b/build.gradle @@ -7,10 +7,18 @@ buildscript { dependencies { classpath "org.junit.platform:junit-platform-gradle-plugin:$junitVersion" classpath "com.netflix.nebula:nebula-kotlin-plugin:$kotlinVersion" + classpath "com.netflix.spinnaker.gradle:spinnaker-gradle-project:3.16.0" } } +allprojects { + apply plugin: "spinnaker.project" + + group = "com.netflix.spinnaker" +} + subprojects { + apply plugin: "nebula.netflixoss" apply from: "$rootDir/gradle/kotlin.gradle" repositories { @@ -21,6 +29,13 @@ subprojects { compile "org.slf4j:slf4j-api:1.7.25" testRuntime "org.slf4j:slf4j-nop:1.7.25" } + + spinnaker { + dependenciesVersion = "0.109.2" + } + + sourceCompatibility = 1.8 + targetCompatibility = 1.8 } defaultTasks "build" diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f16d266..dbdc05d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip diff --git a/keiko-spring/build.gradle b/keiko-spring/build.gradle new file mode 100644 index 0000000..053f91d --- /dev/null +++ b/keiko-spring/build.gradle @@ -0,0 +1,5 @@ +apply from: "$rootDir/gradle/spek.gradle" + +dependencies { + compile "org.springframework:spring-context:$springVersion" +}