Add java-gradle-plugin for kotlin-gradle-plugin tasks validation;

Make task properties validation fail on warnings; run it during IT
This commit is contained in:
Sergey Igushkin
2017-11-14 16:49:59 +03:00
parent 7031087a93
commit 9d1091cdaa
2 changed files with 9 additions and 2 deletions
@@ -28,6 +28,9 @@ dependencies {
testRuntime project(path: ':kotlin-android-extensions', configuration: 'runtimeJar')
}
// Include Gradle task properties validation into the testing procedure:
test.dependsOn(":kotlin-gradle-plugin:validateTaskProperties")
test.dependsOn(":kotlin-allopen:install",
":kotlin-android-extensions:install",
":kotlin-build-common:install",
@@ -40,6 +43,7 @@ test.dependsOn(":kotlin-allopen:install",
":kotlin-stdlib-jre8:install",
":examples:annotation-processor-example:install")
// Validate that all dependencies 'install' tasks are added to 'test' dependencies
// Test dependencies are specified as paths to avoid forcing dependency resolution
// and also to avoid specifying evaluationDependsOn for each testCompile dependency.