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:
PJ Fanning 2023-02-22 22:43:41 +00:00
parent e7ec6329e9
commit c552947cd3
4 changed files with 4 additions and 4 deletions

View File

@ -157,7 +157,7 @@ subprojects {
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
options.encoding = 'UTF-8' options.encoding = 'UTF-8'
options.compilerArgs << '-Xlint:unchecked' options.compilerArgs += '-Xlint:unchecked'
options.deprecation = true options.deprecation = true
options.incremental = true options.incremental = true
} }

View File

@ -51,7 +51,7 @@ final List MAIN_MODULE_PATH = sourceSets.main.runtimeClasspath.findAll{ it.path
compileJava { compileJava {
dependsOn 'generate_beans' dependsOn 'generate_beans'
options.fork = true options.fork = true
options.forkOptions.jvmArgs << '-Xmx2G' options.forkOptions.jvmArgs += '-Xmx2G'
} }
task compileJava9(type: JavaCompile) { task compileJava9(type: JavaCompile) {

View File

@ -83,7 +83,7 @@ task compileOoxmlLite(type: Copy) {
compileJava { compileJava {
dependsOn 'compileOoxmlLite' dependsOn 'compileOoxmlLite'
options.fork = true options.fork = true
options.forkOptions.jvmArgs << '-Xmx2G' options.forkOptions.jvmArgs += '-Xmx2G'
} }
processResources.dependsOn 'compileOoxmlLite' processResources.dependsOn 'compileOoxmlLite'

View File

@ -175,7 +175,7 @@ test {
doFirst { doFirst {
if (jdkVersion > 8) { if (jdkVersion > 8) {
jvmArgs << [ jvmArgs += [
'--add-modules', MODULE_NAME, '--add-modules', MODULE_NAME,
'--module-path', '../build/dist/maven/poi-tests' + File.pathSeparator + files(MODULE_PATH).asPath, '--module-path', '../build/dist/maven/poi-tests' + File.pathSeparator + files(MODULE_PATH).asPath,
] ]