-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgradle.properties
More file actions
39 lines (28 loc) · 1.46 KB
/
gradle.properties
File metadata and controls
39 lines (28 loc) · 1.46 KB
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
# Enable the Gradle daemon to avoid JVM startup cost
org.gradle.daemon=true
# Run tasks in parallel when possible (independent modules)
org.gradle.parallel=true
# Avoid configuring all projects if not needed (speeds up configuration)
# TODO: Bring back once https://youtrack.jetbrains.com/issue/KT-54105/Support-Gradle-project-isolation-feature
# is resolved
org.gradle.configureondemand=false
# Enable Gradle build cache (reuse task outputs)
org.gradle.caching=true
# Enable incremental Kotlin compilation for faster builds
kotlin.incremental=true
# Use Kotlin compiler daemon for performance
kotlin.daemon=true
# Explicitly set Kotlin compilation strategy to daemon
kotlin.compiler.execution.strategy=daemon
# Enable incremental compilation between modules
kotlin.incremental.compilation=true
# Set memory options for Gradle daemon (tune based on system resources)
org.gradle.jvmargs=-Xmx8G -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# Enable Gradle Configuration Cache (experimental but stable in many projects)
org.gradle.configuration-cache=true
org.gradle.configuration-cache.problems=fail
# Remove annoying warning about disabled targets (useful on CI and on machines that aren't supposed to build iOS)
kotlin.native.ignoreDisabledTargets=true
# Suppress of experimentality. Should be deleted when js target is deleted.
# We add to avoid Kotlin considering `commonMain` as JVM target at this point of time.
org.jetbrains.compose.experimental.jscanvas.enabled=true