]> source.dussan.org Git - poi.git/commitdiff
try to fix issue where java9 module-info compiles don't happen
authorPJ Fanning <fanningpj@apache.org>
Tue, 26 Jul 2022 21:56:46 +0000 (21:56 +0000)
committerPJ Fanning <fanningpj@apache.org>
Tue, 26 Jul 2022 21:56:46 +0000 (21:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903038 13f79535-47bb-0310-9956-ffa450edef68

build.gradle
poi/src/main/java9/module-info.class

index 76bdb5c92d2d92c006c288c1f0546fca6c6c6b96..05c1f2d1c17632817d7b83a5f51aa51ec9f61a31 100644 (file)
@@ -185,10 +185,6 @@ subprojects {
         options.compilerArgs << '-Xlint:unchecked'
         options.deprecation = true
         options.incremental = true
-
-        onlyIf {
-            (name != "compileJava9" && name != "compileTest9") // || jdkVersion > 8
-        }
     }
 
     repositories {
@@ -203,10 +199,6 @@ subprojects {
         testImplementation "org.apache.logging.log4j:log4j-core:${log4jVersion}"
     }
 
-    task wrapper(type: Wrapper){
-        gradleVersion = '7.4.2'
-    }
-
     java {
         toolchain {
             languageVersion.set(JavaLanguageVersion.of(jdkVersion))
index 474a97c4b18d75281ceb95d3792a448212505dac..3958dff10e55932ee2abfcb14ef29778227b57f1 100644 (file)
Binary files a/poi/src/main/java9/module-info.class and b/poi/src/main/java9/module-info.class differ