forked from melod1n/fast-messenger
2a238fa1bf
This commit upgrades the project's build system and refactors the build logic for better maintainability and alignment with modern practices. The Gradle version has been updated from 8.14.2 to 9.3.0, and the Android Gradle Plugin (AGP) has been upgraded to version 9.0.0. This required migrating the build logic to use the new `com.android.build.api.dsl` interfaces instead of the deprecated `com.android.build.gradle` ones. Key changes: - Upgraded Gradle to `9.3.0`. - Upgraded Android Gradle Plugin to `9.0.0`. - Updated various dependencies including Kotlin, Compose BOM, Chucker, and serialization. - Removed the explicit `kotlin-android` plugin application, as it's now handled by AGP. - Migrated build convention plugins to use the new AGP DSL APIs. - Commented out the custom APK naming logic in `app/build.gradle.kts`. - Added new `gradle.properties` flags for build configuration. - Corrected the namespace in `core/model` from `datastore` to `model`.
20 lines
665 B
Properties
20 lines
665 B
Properties
org.gradle.jvmargs=-Xmx4096M -Dfile.encoding=UTF-8
|
|
org.gradle.daemon=true
|
|
org.gradle.parallel=true
|
|
org.gradle.configureondemand=false
|
|
android.useAndroidX=true
|
|
kotlin.code.style=official
|
|
org.gradle.unsafe.configuration-cache=true
|
|
android.nonTransitiveRClass=true
|
|
android.nonFinalResIds=true
|
|
|
|
#android.defaults.buildfeatures.resvalues=true
|
|
#android.sdk.defaultTargetSdkToCompileSdkIfUnset=false
|
|
#android.enableAppCompileTimeRClass=false
|
|
#android.usesSdkInManifest.disallowed=false
|
|
#android.uniquePackageNames=false
|
|
#android.dependency.useConstraints=true
|
|
#android.r8.strictFullModeForKeepRules=false
|
|
#android.r8.optimizedResourceShrinking=false
|
|
#android.newDsl=false
|