-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgradle.properties
77 lines (59 loc) · 3 KB
/
gradle.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# suppress inspection "UnusedProperty" for a whole file.
# suppress inspection "AlphaUnsortedPropertiesFile" for a whole file.
# Project-wide Gradle settings.
# https://www.jasonpearson.dev/softreflrupolicymspermb-in-jvm-builds/
# https://www.jasonpearson.dev/codecache-in-jvm-builds/
# https://github.com/slackhq/foundry/commit/0b2a5b832819ce8959f6d0f5ba1c3a4ee809f90a
org.gradle.jvmargs=-Xms1G -Xmx4G -XX:MaxMetaspaceSize=1G -XX:+UseParallelGC -XX:SoftRefLRUPolicyMSPerMB=1 -XX:ReservedCodeCacheSize=320m -Dfile.encoding=UTF-8
kotlin.daemon.jvmargs=-Xms1G -Xmx3G -XX:MaxMetaspaceSize=1G -XX:+UseParallelGC -XX:SoftRefLRUPolicyMSPerMB=1 -XX:ReservedCodeCacheSize=320m
org.gradle.caching=true
org.gradle.configureondemand=true
org.gradle.parallel=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=warn
org.gradle.configuration-cache.max-problems=99999
#org.gradle.logging.level=lifecycle
org.gradle.logging.stacktrace=all
# Diabled due to the error caused by
# the 'self' module using the same sources as the 'plugin' module.
# "Unable to watch the same file twice via different paths."
org.gradle.vfs.watch=false
org.gradle.unsafe.watch-fs=false
org.gradle.kotlin.dsl.skipMetadataVersionCheck=false
systemProp.file.encoding=utf-8
systemProp.org.gradle.internal.publish.checksums.insecure=true
kotlin.code.style=official
kotlin.daemon.useFallbackStrategy=false
kotlin.incremental.native=true
kotlin.incremental.useClasspathSnapshot=true
kotlin.incremental.usePreciseJavaTracking=false
kotlin.incremental=true
kotlin.jvm.target.validation.mode = error
kotlin.mpp.androidGradlePluginCompatibility.nowarn=true
kotlin.apple.xcodeCompatibility.nowarn=true
# New Kotlin IC flags
kotlin.compiler.keepIncrementalCompilationCachesInMemory=true
kotlin.compiler.preciseCompilationResultsBackup=true
kotlin.compiler.suppressExperimentalICOptimizationsWarning=true
# Necessary for the intellij plugin but also not helpful for Gradle plugins since Gradle forces its own
kotlin.stdlib.default.dependency=false
# https://kotlinlang.org/docs/gradle-compilation-and-caches.html#enabling-build-reports
#kotlin.build.report.output=build_scan
# Use K2
android.lint.useK2Uast=true
kapt.use.k2=true
ksp.useKSP2=true
# Ironically, this property itself is also experimental, so we have to suppress it too.
android.suppressUnsupportedOptionWarnings=android.suppressUnsupportedOptionWarnings,\
android.lint.useK2Uast,\
android.experimental.lint.missingBaselineIsEmptyBaseline,\
android.experimental.lint.version
android.experimental.lint.missingBaselineIsEmptyBaseline=true
# Use Atomicfu compiler plugin for all targets.
# https://github.com/Kotlin/kotlinx-atomicfu#atomicfu-compiler-plugin
kotlinx.atomicfu.enableJsIrTransformation=true
kotlinx.atomicfu.enableJvmIrTransformation=true
kotlinx.atomicfu.enableNativeIrTransformation=true
# If set to true, enables Gradle Worker API for Detekt tasks. `false` by default.
# See the doc for the Worker API at https://docs.gradle.org/8.1/userguide/worker_api.html
detekt.use.worker.api = false