summaryrefslogtreecommitdiff
path: root/gradle.properties
diff options
context:
space:
mode:
Diffstat (limited to 'gradle.properties')
-rw-r--r--gradle.properties8
1 files changed, 8 insertions, 0 deletions
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 0000000..85a128d
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,8 @@
+# Sized for small machines (this is developed on a 4 GB laptop): one modest Gradle heap,
+# Kotlin compiled inside it rather than in a second daemon, and only two workers at a time.
+org.gradle.jvmargs=-Xmx1280m -XX:MaxMetaspaceSize=384m -XX:+UseSerialGC -Dfile.encoding=UTF-8
+kotlin.compiler.execution.strategy=in-process
+org.gradle.workers.max=2
+org.gradle.caching=true
+org.gradle.configuration-cache=true
+kotlin.code.style=official