summaryrefslogtreecommitdiff
path: root/platform/android/java/lib/build.gradle
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-03-17 16:31:04 +0100
committerGitHub <noreply@github.com>2020-03-17 16:31:04 +0100
commit6c74f38f0b79930ede23d3c15423f17947757534 (patch)
tree0c30cbf5e1b910781b51e29aa30d86a5ffd2a5c5 /platform/android/java/lib/build.gradle
parent0159787864e7ecce60a4d3142f5c82e024710f89 (diff)
parent41dadb2b2b7f6a579e4ac815d6f8e4db88b234f3 (diff)
Merge pull request #36906 from m4gr3d/enable_android_studio_debugging
Enable Android Studio debugging
Diffstat (limited to 'platform/android/java/lib/build.gradle')
-rw-r--r--platform/android/java/lib/build.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/java/lib/build.gradle b/platform/android/java/lib/build.gradle
index ca8aaf8af0..062f91e08e 100644
--- a/platform/android/java/lib/build.gradle
+++ b/platform/android/java/lib/build.gradle
@@ -26,6 +26,7 @@ android {
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
+ doNotStrip '**/*.so'
}
sourceSets {
@@ -56,7 +57,7 @@ android {
// files is only setup for editing support.
gradle.startParameter.excludedTaskNames += taskPrefix + "externalNativeBuild" + buildType
- def releaseTarget = supportedTargets[buildType.toLowerCase()]
+ def releaseTarget = buildType.toLowerCase()
if (releaseTarget == null || releaseTarget == "") {
throw new GradleException("Invalid build type: " + buildType)
}