File: gradle.properties
Purpose: Stores global Gradle configuration properties affecting all modules in the project.
| Property | Value | Purpose |
|---|---|---|
org.gradle.jvmargs |
-Xmx4g -Dfile.encoding=UTF-8 |
Increases Gradle JVM memory to 4GB and sets UTF-8 encoding. |
android.useAndroidX |
true |
Enables AndroidX support for the entire project. |
kotlin.code.style |
official |
Enforces official Kotlin code style. |
kotlin.mpp.enableCInteropCommonization |
true |
Enables commonization for Kotlin Multiplatform C interop code. |
kotlin.native.binary.memoryModel |
default |
Sets Kotlin/Native memory model to default for stability. |
| Test Case | Description |
|---|---|
gradleBuildRuns() |
Project builds successfully after setting these properties. |
checkKotlinStyle() |
Formatting is consistent with official Kotlin style. |
org.gradle.jvmargs for CI/CD environments.