mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
Improve build time with parallel builds, build cache, and cleanup
- Enable org.gradle.parallel=true (was commented out) - Add org.gradle.caching=true to reuse task outputs across builds - Remove duplicate compileOptions block in app/build.gradle - Remove duplicate okhttpCoroutines implementation (already declared as freeImplementation) https://claude.ai/code/session_01AtWgST4nDyCNqtoEz7otfD
This commit is contained in:
@@ -148,11 +148,6 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOptions {
|
|
||||||
sourceCompatibility JavaVersion.VERSION_21
|
|
||||||
targetCompatibility JavaVersion.VERSION_21
|
|
||||||
}
|
|
||||||
|
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
compose = true
|
compose = true
|
||||||
buildConfig = true
|
buildConfig = true
|
||||||
@@ -245,7 +240,6 @@ dependencies {
|
|||||||
implementation libs.coil.svg
|
implementation libs.coil.svg
|
||||||
// enables network for coil
|
// enables network for coil
|
||||||
implementation libs.coil.okhttp
|
implementation libs.coil.okhttp
|
||||||
implementation libs.okhttpCoroutines
|
|
||||||
|
|
||||||
implementation libs.storage
|
implementation libs.storage
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -10,7 +10,7 @@ org.gradle.jvmargs=-Xms1024m -Xmx4096m -Dfile.encoding=UTF-8
|
|||||||
# When configured, Gradle will run in incubating parallel mode.
|
# When configured, Gradle will run in incubating parallel mode.
|
||||||
# This option should only be used with decoupled projects. More details, visit
|
# This option should only be used with decoupled projects. More details, visit
|
||||||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
|
||||||
# org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
# AndroidX package structure to make it clearer which packages are bundled with the
|
# AndroidX package structure to make it clearer which packages are bundled with the
|
||||||
# Android operating system, and which are packaged with your app's APK
|
# Android operating system, and which are packaged with your app's APK
|
||||||
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
||||||
@@ -23,3 +23,4 @@ kotlin.code.style=official
|
|||||||
android.nonTransitiveRClass=true
|
android.nonTransitiveRClass=true
|
||||||
android.enableR8.fullMode=true
|
android.enableR8.fullMode=true
|
||||||
org.gradle.configuration-cache=true
|
org.gradle.configuration-cache=true
|
||||||
|
org.gradle.caching=true
|
||||||
|
|||||||
Reference in New Issue
Block a user