[gradle-plugin] Use project properties instead of env variables

This commit is contained in:
Ilya Matveev
2018-04-12 15:38:21 +07:00
committed by ilmat192
parent 1d2558cd94
commit 2bf307f823
5 changed files with 240 additions and 7 deletions
@@ -83,6 +83,9 @@ dependencies {
testCompile gradleTestKit()
testCompile 'junit:junit:4.12'
testCompile "org.jetbrains.kotlin:kotlin-test:$buildKotlinVersion"
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$buildKotlinVersion"
testCompile "org.tools4j:tools4j-spockito:1.6"
testCompile('org.spockframework:spock-core:1.1-groovy-2.4') {
exclude module: 'groovy-all'
}
@@ -124,6 +127,10 @@ processResources {
from(file("$rootBuildDirectory/utilities/env_blacklist"))
}
compileTestGroovy.dependsOn.remove('compileTestJava')
compileTestKotlin.dependsOn compileTestGroovy
compileTestKotlin.classpath += files(compileTestGroovy.destinationDir)
// TODO: Get rid of manual pom generation.
publishing {
publications {