mirror of https://github.com/apache/poi.git
try gradle 8.0.1 again
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907813 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e7ec6329e9
commit
c552947cd3
|
@ -157,7 +157,7 @@ subprojects {
|
|||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
options.compilerArgs << '-Xlint:unchecked'
|
||||
options.compilerArgs += '-Xlint:unchecked'
|
||||
options.deprecation = true
|
||||
options.incremental = true
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ final List MAIN_MODULE_PATH = sourceSets.main.runtimeClasspath.findAll{ it.path
|
|||
compileJava {
|
||||
dependsOn 'generate_beans'
|
||||
options.fork = true
|
||||
options.forkOptions.jvmArgs << '-Xmx2G'
|
||||
options.forkOptions.jvmArgs += '-Xmx2G'
|
||||
}
|
||||
|
||||
task compileJava9(type: JavaCompile) {
|
||||
|
|
|
@ -83,7 +83,7 @@ task compileOoxmlLite(type: Copy) {
|
|||
compileJava {
|
||||
dependsOn 'compileOoxmlLite'
|
||||
options.fork = true
|
||||
options.forkOptions.jvmArgs << '-Xmx2G'
|
||||
options.forkOptions.jvmArgs += '-Xmx2G'
|
||||
}
|
||||
|
||||
processResources.dependsOn 'compileOoxmlLite'
|
||||
|
|
|
@ -175,7 +175,7 @@ test {
|
|||
|
||||
doFirst {
|
||||
if (jdkVersion > 8) {
|
||||
jvmArgs << [
|
||||
jvmArgs += [
|
||||
'--add-modules', MODULE_NAME,
|
||||
'--module-path', '../build/dist/maven/poi-tests' + File.pathSeparator + files(MODULE_PATH).asPath,
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue