diff options
Diffstat (limited to 'poi-examples')
-rw-r--r-- | poi-examples/build.gradle | 19 | ||||
-rw-r--r-- | poi-examples/src/main/java9/module-info.class | bin | 979 -> 0 bytes |
2 files changed, 2 insertions, 17 deletions
diff --git a/poi-examples/build.gradle b/poi-examples/build.gradle index 855ba38b03..8ce4abd87e 100644 --- a/poi-examples/build.gradle +++ b/poi-examples/build.gradle @@ -19,9 +19,7 @@ import java.util.regex.Pattern sourceSets { main { - if (jdkVersion > 8) { - output.dir(JAVA9_OUT, builtBy: 'cacheJava9') - } + output.dir(JAVA9_OUT, builtBy: 'compileJava9') } } @@ -72,24 +70,11 @@ task compileJava9(type: JavaCompile) { ] } -task cacheJava9(type: Copy) { - dependsOn 'compileJava9' - - from(file(JAVA9_OUT + VERSIONS9)) - into(JAVA9_SRC) -} - jar { - dependsOn cacheJava9 + dependsOn compileJava9 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, 'Multi-Release': 'true') } diff --git a/poi-examples/src/main/java9/module-info.class b/poi-examples/src/main/java9/module-info.class Binary files differdeleted file mode 100644 index bd60029c1c..0000000000 --- a/poi-examples/src/main/java9/module-info.class +++ /dev/null |