mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
compile module info only in Java 9+ builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892248 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f83a4152d5
commit
80b73d65b1
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user