mirror of
https://github.com/apple/pkl.git
synced 2026-06-10 07:42:58 +02:00
1cc20b611f
This reverts the commits that enabled Gradle's configuration cache feature. IMO: this feature is too hard to use. We don't know if a task is valid for the configuration cache until it runs, and it's very hard to tell if something is safe when authoring Gradle code. For example, our publish tasks are currently failing; I don't know how I would fix this without running the publish task again on my dev machine. Also, some of our build scripts become more brittle because of this; for example, see https://github.com/apple/pkl/blob/bb07589eae0b3195a589559a3245cbc12c29b394/build-logic/src/main/kotlin/BuildInfo.kt#L291-L296
21 lines
707 B
Properties
21 lines
707 B
Properties
# suppress inspection "UnusedProperty" for whole file
|
|
|
|
group=org.pkl-lang
|
|
version=0.32.0
|
|
|
|
# google-java-format requires jdk.compiler exports
|
|
org.gradle.jvmargs= \
|
|
-XX:+UseParallelGC \
|
|
-Dfile.encoding=UTF-8 \
|
|
--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
|
|
|
|
org.gradle.parallel=true
|
|
org.gradle.caching=true
|
|
kotlin.stdlib.default.dependency=false
|
|
kotlin.daemon.jvmargs=-XX:+UseParallelGC
|
|
#org.gradle.workers.max=1
|