| # | |
| # Licensed to the Apache Software Foundation (ASF) under one | |
| # or more contributor license agreements. See the NOTICE file | |
| # distributed with this work for additional information | |
| # regarding copyright ownership. The ASF licenses this file | |
| # to you under the Apache License, Version 2.0 (the | |
| # "License"); you may not use this file except in compliance | |
| # with the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, | |
| # software distributed under the License is distributed on an | |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| # KIND, either express or implied. See the License for the | |
| # specific language governing permissions and limitations | |
| # under the License. | |
| # | |
| org.gradle.jvmargs=-Xmx12g --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=null | |
| buildType=BUILD | |
| org.gradle.caching=true | |
| org.gradle.parallel=true | |
| # Uncomment if you are facing out of memory issues | |
| #org.gradle.daemon=false | |
| # Worker concurrency is deliberately NOT pinned here: local machines should use all their | |
| # cores. Per-worker heap is bounded instead (see options.forkOptions.memoryMaximumSize and | |
| # spotbugs.maxHeapSize in build.gradle), and CI additionally caps org.gradle.workers.max via | |
| # .github/actions/gradle-memory-budget so the total fits a 16 GB runner. | |
| org.gradle.daemon.idletimeout=10800000 | |
| # Tasks that do not support it (jk1 license report, jib, asciidoctor, the release tasks and the database admin | |
| # tasks) are marked notCompatibleWithConfigurationCache, so builds that include them run uncached. CI switches it | |
| # off entirely (.github/scripts/gradle-memory-budget.sh): fresh runners with --no-daemon gain nothing from it. | |
| #org.gradle.configuration-cache=true | |
| org.gradle.vfs.watch=true |