Add gradle.properties to d8_r8/library_desugar
Without Gradle sync from Android Studio fails with
Project source sets cannot be resolved
org.gradle.api.internal.provider.AbstractProperty$PropertyQueryException: Failed to calculate the value of task ':library_desugar:compileJava' property 'javaCompiler'.
[...]
Caused by: org.gradle.jvm.toolchain.internal.NoToolchainAvailableException: Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=11, vendor=any vendor, implementation=vendor-specific} for LINUX on x86_64.
[...]
Caused by: org.gradle.jvm.toolchain.internal.ToolchainDownloadFailedException: No locally installed toolchains match and toolchain download repositories have not been configured.
[...]
Change-Id: I1776de0aff2cc1a2c15669d20dc8dc1157b31785diff --git a/d8_r8/library_desugar/gradle.properties b/d8_r8/library_desugar/gradle.properties
new file mode 100644
index 0000000..a12fbef
--- /dev/null
+++ b/d8_r8/library_desugar/gradle.properties
@@ -0,0 +1,45 @@
+# Copyright (c) 2023, the R8 project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+# Due to Gradle composite project isolation this file is duplicated in each
+# project. Please update the one in the repo root and duplicate.
+#
+# find d8_r8 -name gradle.properties -exec cp gradle.properties {} \;
+
+org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8
+kotlin.daemon.jvmargs=-Xmx3g -Dkotlin.js.compiler.legacy.force_enabled=true
+systemProp.file.encoding=UTF-8
+
+org.gradle.parallel=true
+org.gradle.caching=false
+org.gradle.configuration-cache=false
+
+# Do not download any jdks or detect them. We provide them.
+org.gradle.java.installations.auto-detect=false
+org.gradle.java.installations.auto-download=false
+
+# Configure Java toolchains
+#
+# Run
+# tools/gradle.py -q javaToolchains
+# to check the actual JDK's picked up by Gradle.
+#
+# NOTE: Gradle will ignore directories which does not exist, as will be the
+# case for JDK's for platforms different from the one this is running on
+# when using the default downloadDeps setup.
+# These paths are provided by tools/gradle.py and tools/test.py, but kept here
+# to allow for direct gradle invocations.
+org.gradle.java.installations.paths=\
+third_party/openjdk/jdk-11/linux,\
+third_party/openjdk/jdk-17/linux,\
+third_party/openjdk/jdk-21/linux,\
+third_party/openjdk/jdk-25/linux,\
+third_party/openjdk/jdk-11/osx,\
+third_party/openjdk/jdk-17/osx,\
+third_party/openjdk/jdk-21/osx,\
+third_party/openjdk/jdk-25/osx,\
+third_party/openjdk/jdk-11/windows,\
+third_party/openjdk/jdk-17/windows,\
+third_party/openjdk/jdk-21/windows,\
+third_party/openjdk/jdk-25/windows