aboutsummaryrefslogtreecommitdiffstats
path: root/poi-ooxml-lite-agent
diff options
context:
space:
mode:
Diffstat (limited to 'poi-ooxml-lite-agent')
-rw-r--r--poi-ooxml-lite-agent/build.gradle17
-rw-r--r--poi-ooxml-lite-agent/src/main/java9/module-info.classbin219 -> 0 bytes
2 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,
diff --git a/poi-ooxml-lite-agent/src/main/java9/module-info.class b/poi-ooxml-lite-agent/src/main/java9/module-info.class
deleted file mode 100644
index d445b14e8a..0000000000
--- a/poi-ooxml-lite-agent/src/main/java9/module-info.class
+++ /dev/null
Binary files differ