Fix Gradle IT compilation.
This commit is contained in:
@@ -15,6 +15,7 @@ dependencies {
|
|||||||
testCompile project(':kotlin-allopen')
|
testCompile project(':kotlin-allopen')
|
||||||
|
|
||||||
testCompile "org.jetbrains.kotlin:annotation-processor-example:$kotlin_version"
|
testCompile "org.jetbrains.kotlin:annotation-processor-example:$kotlin_version"
|
||||||
|
testCompile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
|
||||||
testCompile "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
testCompile "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
|
||||||
testCompile "org.jetbrains.kotlin:kotlin-build-common-test:$kotlin_version"
|
testCompile "org.jetbrains.kotlin:kotlin-build-common-test:$kotlin_version"
|
||||||
|
|
||||||
@@ -25,6 +26,9 @@ processResources {
|
|||||||
expand(project.properties)
|
expand(project.properties)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compileTestKotlin.kotlinOptions.jdkHome = JDK_18
|
||||||
|
compileTestKotlin.kotlinOptions.jvmTarget = "1.8"
|
||||||
|
|
||||||
tasks.withType(Test) {
|
tasks.withType(Test) {
|
||||||
onlyIf { !project.hasProperty("noTest") }
|
onlyIf { !project.hasProperty("noTest") }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user