-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgradle.properties
26 lines (24 loc) · 1.29 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
#Kotlin
kotlin.code.style=official
kotlin.daemon.jvmargs=-Xmx8192M
#Gradle
org.gradle.jvmargs=-Xmx8192M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx8192M"
#Kotlin Multiplatform
kotlin.mpp.enableCInteropCommonization=true
# Enables parallel execution in Gradle, allowing multiple tasks to run simultaneously to reduce overall build time
org.gradle.parallel=true
# Enables incremental compilation in Kotlin, improving build times by recompiling only changes
kotlin.incremental=true
# Activates incremental compilation for Kotlin Symbol Processing (KSP), optimizing annotation processing
ksp.incremental=true
# Enables Gradle build cache to store and reuse build task outputs, reducing build times for future builds
org.gradle.caching=true
# Activates Gradle configuration cache, improving performance by reusing build configuration between runs
org.gradle.configuration-cache=true
# Enables configure-on-demand in Gradle, configuring only the projects necessary for the requested task
org.gradle.configureondemand=true
# Uses the Gradle daemon to keep a background process running, speeding up subsequent builds
org.gradle.daemon=true
# Opt in to the future (Kotlin Gradle plugin 2.0.0) default behavior of downloading the
# Kotlin native libraries from Maven.
kotlin.native.distribution.downloadFromMaven=true