You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2021/08/11 21:23:13 UTC
svn commit: r1892248 - /poi/trunk/build.gradle
Author: kiwiwings
Date: Wed Aug 11 21:23:13 2021
New Revision: 1892248
URL: http://svn.apache.org/viewvc?rev=1892248&view=rev
Log:
compile module info only in Java 9+ builds
Modified:
poi/trunk/build.gradle
Modified: poi/trunk/build.gradle
URL: http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1892248&r1=1892247&r2=1892248&view=diff
==============================================================================
--- poi/trunk/build.gradle (original)
+++ poi/trunk/build.gradle Wed Aug 11 21:23:13 2021
@@ -124,6 +124,10 @@ subprojects {
options.encoding = 'UTF-8'
options.compilerArgs << '-Xlint:unchecked'
options.deprecation = true
+
+ onlyIf {
+ (name != "compileJava9" && name != "compileTest9") || JavaVersion.current() != JavaVersion.VERSION_1_8
+ }
}
sourceCompatibility = JavaVersion.VERSION_1_8
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org