Use default compileJava9Java task to build java9 source set
This commit is contained in:
committed by
Alexander Udalov
parent
bd4abaa8bf
commit
299d6fa772
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user