mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-28 12:30:12 +02:00
build: improve performance
This commit is contained in:
parent
e72cc9e59c
commit
b3a650ed54
@ -31,8 +31,11 @@ android {
|
||||
proguardFiles += file("proguard-rules.pro")
|
||||
}
|
||||
debug {
|
||||
isDebuggable = true
|
||||
isMinifyEnabled = properties["debug_assemble_task"] == null
|
||||
(properties["debug_assemble_task"] == null).also {
|
||||
isDebuggable = !it
|
||||
isMinifyEnabled = it
|
||||
isShrinkResources = it
|
||||
}
|
||||
proguardFiles += file("proguard-rules.pro")
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
org.gradle.jvmargs=-Xmx6G -Xms6G -Dfile.encoding=UTF-8
|
||||
org.gradle.jvmargs=-Xms5G -Xmx5G -Dfile.encoding=UTF-8
|
||||
org.gradle.parallel=true
|
||||
android.useAndroidX=true
|
||||
kotlin.code.style=official
|
||||
android.nonTransitiveRClass=true
|
||||
|
Loading…
x
Reference in New Issue
Block a user