-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgradle.properties
More file actions
62 lines (56 loc) · 2.66 KB
/
Copy pathgradle.properties
File metadata and controls
62 lines (56 loc) · 2.66 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Project-specific settings
# Remove JS Canvas flag since we're using Compose HTML
# org.jetbrains.compose.experimental.jscanvas.enabled=true
# Version information is now in version.properties
# See version.properties for the single source of truth for version information
# Memory settings - use ParallelGC for faster test execution
kotlin.daemon.jvmargs=-Xmx4G -XX:+UseParallelGC
org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=1G -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError
# Gradle configuration - optimized for faster builds
org.gradle.parallel=true
# Configure on demand disabled - not compatible with KMP JS/WASM targets
# See https://youtrack.jetbrains.com/issue/KT-52074
org.gradle.configureondemand=false
# Build cache - enable for faster rebuilds
org.gradle.caching=true
# Workers for parallel task execution
org.gradle.workers.max=4
# Kotest configuration - disable classpath scanning for faster test startup
kotest.framework.classpath.scanning.autoscan.disable=true
# Kotlin configuration
# kotlin.mpp.enableGranularSourceSetsMetadata=true # DEPRECATED - removed
# kotlin.native.enableDependencyPropagation=false # DEPRECATED - removed
kotlin.js.nodejs.version=18.16.0
kotlin.js.yarn.disableYarnLockMismatchCheck=true
kotlin.js.yarn.installTimeout=300000
# ENABLE MODERN INCREMENTAL COMPILATION (Kotlin 2.3.0)
kotlin.incremental=true
kotlin.incremental.wasm=true
kotlin.incremental.js=true
kotlin.incremental.multiplatform=true
kotlin.js.compiler.incremental=true
# New FIR-based incremental compilation for JVM
kotlin.incremental.jvm.fir=true
# Experimental WASM incremental compilation
kotlin.experimental.wasm.incrementalCompilation=true
# Force compiler execution strategy
kotlin.compiler.execution.strategy=in-process
# Compiler flag to handle KLIB duplicate names from atomicfu
kotlin.js.compiler.additionalArguments=-Xklib-duplicated-unique-name-strategy=allow-first-with-warning
# AtomicFU configuration - enable all IR transformations
kotlinx.atomicfu.enableJvmIrTransformation=true
kotlinx.atomicfu.enableNativeIrTransformation=true
kotlinx.atomicfu.enableJsIrTransformation=true
# Publishing configuration (override in local.properties or CI)
# New Central Portal credentials (2024+)
# centralUsername=your_central_portal_username
# centralPassword=your_central_portal_token
# signing.keyId=your_key_id
# signing.password=your_signing_password
# signing.secretKeyRingFile=path_to_your_secret_keyring
# GitHub Packages (override in CI)
# Disable default Kotlin hierarchy template due to custom webMain source set
kotlin.mpp.applyDefaultHierarchyTemplate=false
# Defaults for Central Portal publishing (overridden by local.properties, -P, or env)
mavenCentralUsername=
mavenCentralPassword=