mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-26 17:37:34 +00:00
gradle: make debug apk builds debuggable
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2320>
This commit is contained in:
parent
738acfbcf7
commit
30d8e29ee1
|
@ -4,4 +4,4 @@
|
||||||
android.nonFinalResIds=false
|
android.nonFinalResIds=false
|
||||||
android.nonTransitiveRClass=false
|
android.nonTransitiveRClass=false
|
||||||
android.useAndroidX = true
|
android.useAndroidX = true
|
||||||
|
org.gradle.jvmargs=-Xmx2048m
|
||||||
|
|
|
@ -201,6 +201,11 @@ android {
|
||||||
// Gradle plugin produces proguard-android-optimize.txt from @Keep annotations
|
// Gradle plugin produces proguard-android-optimize.txt from @Keep annotations
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
|
debug {
|
||||||
|
minifyEnabled false
|
||||||
|
debuggable true
|
||||||
|
jniDebuggable true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
|
@ -255,6 +260,12 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
androidComponents {
|
||||||
|
onVariants(selector().withBuildType("debug")) {
|
||||||
|
packaging.jniLibs.keepDebugSymbols.add("**")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
aboutLibraries {
|
aboutLibraries {
|
||||||
// Full license text for license IDs mentioned here
|
// Full license text for license IDs mentioned here
|
||||||
// will be included, even if no detected dependency uses them.
|
// will be included, even if no detected dependency uses them.
|
||||||
|
|
Loading…
Reference in a new issue