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
+3 -3
View File
@@ -21,11 +21,9 @@ dependencies {
archivesBaseName = 'kotlin-test'
createCompileJava9Task(project, "compileJava9", "kotlin.test")
jar {
manifestAttributes(manifest, project, 'Test', true)
from compileJava9.outputs
from sourceSets.java9.output
}
artifacts {
@@ -45,3 +43,5 @@ compileKotlin {
compileTestKotlin {
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package"]
}
compileJava9Sources(project, 'kotlin.test')