diff options
Diffstat (limited to 'poi-ooxml-lite-agent/build.gradle')
-rw-r--r-- | poi-ooxml-lite-agent/build.gradle | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/poi-ooxml-lite-agent/build.gradle b/poi-ooxml-lite-agent/build.gradle index f6cfff98a3..7ce9832275 100644 --- a/poi-ooxml-lite-agent/build.gradle +++ b/poi-ooxml-lite-agent/build.gradle @@ -17,9 +17,7 @@ sourceSets { main { - if (jdkVersion > 8) { - output.dir(JAVA9_OUT, builtBy: 'cacheJava9') - } + output.dir(JAVA9_OUT, builtBy: 'compileJava9') } } @@ -57,22 +55,9 @@ task compileJava9(type: JavaCompile) { } } -task cacheJava9(type: Copy) { - dependsOn 'compileJava9' - - from(file(JAVA9_OUT + VERSIONS9)) - into(JAVA9_SRC) -} - jar { destinationDirectory = file("../build/dist/maven/${project.archivesBaseName}") - if (jdkVersion == 8) { - into('META-INF/versions/9') { - from JAVA9_SRC include '*.class' - } - } - manifest { attributes ( 'Automatic-Module-Name' : MODULE_NAME, |