Showing
1 changed file
with
11 additions
and
2 deletions
| ... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' | ... | @@ -2,7 +2,7 @@ apply plugin: 'com.android.library' |
| 2 | 2 | ||
| 3 | ext { | 3 | ext { |
| 4 | PUBLISH_GROUP_ID = 'ly.warp' | 4 | PUBLISH_GROUP_ID = 'ly.warp' |
| 5 | - PUBLISH_VERSION = '4.5.4-cosbeta47' | 5 | + PUBLISH_VERSION = '4.5.4-cosbeta48' |
| 6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' | 6 | PUBLISH_ARTIFACT_ID = 'warply-android-sdk' |
| 7 | } | 7 | } |
| 8 | 8 | ||
| ... | @@ -18,13 +18,22 @@ android { | ... | @@ -18,13 +18,22 @@ android { |
| 18 | targetSdkVersion 31 | 18 | targetSdkVersion 31 |
| 19 | consumerProguardFiles 'proguard-rules.pro' | 19 | consumerProguardFiles 'proguard-rules.pro' |
| 20 | } | 20 | } |
| 21 | + splits { | ||
| 22 | + abi { | ||
| 23 | + reset() | ||
| 24 | + enable false | ||
| 25 | + universalApk false // If true, also generate a universal APK | ||
| 26 | + include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" | ||
| 27 | + } | ||
| 28 | + } | ||
| 21 | lintOptions { | 29 | lintOptions { |
| 22 | abortOnError false | 30 | abortOnError false |
| 23 | } | 31 | } |
| 24 | 32 | ||
| 25 | buildTypes { | 33 | buildTypes { |
| 26 | release { | 34 | release { |
| 27 | - minifyEnabled false | 35 | + minifyEnabled true |
| 36 | + shrinkResources true | ||
| 28 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | 37 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| 29 | } | 38 | } |
| 30 | } | 39 | } | ... | ... |
-
Please register or login to post a comment