Morten Krogh-Jespersen | 5a37de8 | 2023-03-02 01:42:28 +0100 | [diff] [blame] | 1 | # Copyright (c) 2023, the R8 project authors. Please see the AUTHORS file |
| 2 | # for details. All rights reserved. Use of this source code is governed by a |
| 3 | # BSD-style license that can be found in the LICENSE file. |
| 4 | |
| 5 | org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 |
| 6 | kotlin.daemon.jvmargs=-Xmx3g -Dkotlin.js.compiler.legacy.force_enabled=true |
| 7 | systemProp.file.encoding=UTF-8 |
| 8 | |
| 9 | # Enable new incremental compilation |
| 10 | kotlin.incremental.useClasspathSnapshot=true |
| 11 | |
| 12 | org.gradle.parallel=true |
Rico Wind | 54ab7b5 | 2023-09-07 11:16:27 +0200 | [diff] [blame] | 13 | org.gradle.caching=false |
Rico Wind | 9b0a342 | 2023-08-31 15:28:03 +0200 | [diff] [blame] | 14 | org.gradle.configuration-cache=true |
Morten Krogh-Jespersen | 5a37de8 | 2023-03-02 01:42:28 +0100 | [diff] [blame] | 15 | |
Morten Krogh-Jespersen | d1a1185 | 2023-06-14 14:48:44 +0200 | [diff] [blame] | 16 | # Do not download any jdks or detect them. We provide them. |
Morten Krogh-Jespersen | 5a37de8 | 2023-03-02 01:42:28 +0100 | [diff] [blame] | 17 | org.gradle.java.installations.auto-detect=false |
| 18 | org.gradle.java.installations.auto-download=false |
Søren Gjesse | aa995f2 | 2024-06-06 12:21:58 +0200 | [diff] [blame] | 19 | # Configure Java toolchains |
| 20 | # |
| 21 | # Would have liked to include third_party/openjdk/jdk8/linux-x86, but Gradle |
| 22 | # does not fully recognize it as a JDK-8. |
| 23 | # |
| 24 | # Run |
| 25 | # tools/gradle.py -q javaToolchains |
| 26 | # to check the actual JDK's picked up by Gradle. |
| 27 | # |
| 28 | # NOTE: Gradle will ignore directories which does not exist, as will be the |
| 29 | # case for JDK's for platforms different from the one this is running on |
| 30 | # when using the default downloadDeps setup. |
| 31 | org.gradle.java.installations.paths=\ |
| 32 | ../third_party/openjdk/jdk-11/linux,\ |
| 33 | ../third_party/openjdk/jdk-17/linux,\ |
| 34 | ../third_party/openjdk/jdk-21/linux,\ |
| 35 | ../third_party/openjdk/jdk-22/linux,\ |
| 36 | ../third_party/openjdk/jdk-11/osx,\ |
| 37 | ../third_party/openjdk/jdk-17/osx,\ |
| 38 | ../third_party/openjdk/jdk-21/osx,\ |
| 39 | ../third_party/openjdk/jdk-22/osx,\ |
| 40 | ../third_party/openjdk/jdk-11/windows,\ |
| 41 | ../third_party/openjdk/jdk-17/windows,\ |
| 42 | ../third_party/openjdk/jdk-21/windows,\ |
| 43 | ../third_party/openjdk/jdk-22/windows |