Update checker and adapt memory configuration
This commit is contained in:
parent
ace17bfeb4
commit
743cf1326d
|
@ -25,7 +25,7 @@ plugins {
|
|||
id 'org.hibernate.orm.database-service' apply false
|
||||
id 'biz.aQute.bnd' version '6.3.1' apply false
|
||||
|
||||
id 'org.checkerframework' version '0.6.25'
|
||||
id 'org.checkerframework' version '0.6.34'
|
||||
id 'org.hibernate.orm.build.jdks'
|
||||
|
||||
id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Keep all these properties in sync unless you know what you are doing!
|
||||
# We set '-Dlog4j2.disableJmx=true' to prevent classloader leaks triggered by the logger.
|
||||
# (Some of these settings need to be repeated in the test.jvmArgs blocks of each module)
|
||||
org.gradle.jvmargs=-Dlog4j2.disableJmx -Xmx3g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
|
||||
toolchain.compiler.jvmargs=-Dlog4j2.disableJmx=true -Xmx3g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
|
||||
toolchain.javadoc.jvmargs=-Dlog4j2.disableJmx=true -Xmx3g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
|
||||
toolchain.launcher.jvmargs=-Dlog4j2.disableJmx=true -Xmx3g -XX:MaxMetaspaceSize=384m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
|
||||
org.gradle.jvmargs=-Dlog4j2.disableJmx -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
|
||||
toolchain.compiler.jvmargs=-Dlog4j2.disableJmx=true -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
|
||||
toolchain.javadoc.jvmargs=-Dlog4j2.disableJmx=true -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
|
||||
toolchain.launcher.jvmargs=-Dlog4j2.disableJmx=true -Xmx2g -XX:MaxMetaspaceSize=384m -XX:+HeapDumpOnOutOfMemoryError -Duser.language=en -Duser.country=US -Duser.timezone=UTC -Dfile.encoding=UTF-8
|
||||
|
||||
org.gradle.parallel=true
|
||||
|
||||
|
|
|
@ -164,6 +164,9 @@ artifacts {
|
|||
tasks.withType( JavaCompile ) {
|
||||
options.encoding = 'UTF-8'
|
||||
options.warnings false
|
||||
options.fork = true
|
||||
options.forkOptions.memoryMaximumSize = '768m'
|
||||
|
||||
// javaCompileTask.options.compilerArgs += [
|
||||
// "-nowarn",
|
||||
// "-encoding", "UTF-8"
|
||||
|
|
Loading…
Reference in New Issue