blob: 473e9a76bf2c6bc1038e0efc9b928bdb77496708 [file] [log] [blame]
Morten Krogh-Jespersen5a37de82023-03-02 01:42:28 +01001# 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
5org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8
6kotlin.daemon.jvmargs=-Xmx3g -Dkotlin.js.compiler.legacy.force_enabled=true
7systemProp.file.encoding=UTF-8
8
9# Enable new incremental compilation
10kotlin.incremental.useClasspathSnapshot=true
11
12org.gradle.parallel=true
Rico Wind54ab7b52023-09-07 11:16:27 +020013org.gradle.caching=false
Rico Wind9b0a3422023-08-31 15:28:03 +020014org.gradle.configuration-cache=true
Morten Krogh-Jespersen5a37de82023-03-02 01:42:28 +010015
Morten Krogh-Jespersend1a11852023-06-14 14:48:44 +020016# Do not download any jdks or detect them. We provide them.
Morten Krogh-Jespersen5a37de82023-03-02 01:42:28 +010017org.gradle.java.installations.auto-detect=false
18org.gradle.java.installations.auto-download=false
Søren Gjesseaa995f22024-06-06 12:21:58 +020019# 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.
31org.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