Use default compileJava9Java task to build java9 source set

This commit is contained in:
Ilya Gorbunov
2018-04-02 14:16:53 +03:00
committed by Alexander Udalov
parent bd4abaa8bf
commit 299d6fa772
7 changed files with 46 additions and 51 deletions
+1 -2
View File
@@ -22,7 +22,7 @@ dependencies {
compileOnly project(':core:util.runtime')
}
createCompileJava9Task(project, "compileJava9", "kotlin.reflect", [configurations.compileOnly])
compileJava9Sources(project, 'kotlin.reflect', [sourceSets.main.output, configurations.compileOnly])
compileKotlin {
kotlinOptions {
@@ -39,7 +39,6 @@ jar {
}
task java9Jar(type: Jar) {
dependsOn(compileJava9)
classifier = "java9"
from sourceSets.java9.output
}