Skip to content

Commit 84bc0c7

Browse files
committed
Updates gradle and android gradle plugin version + avoid using a deprecated property
1 parent 5a941aa commit 84bc0c7

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

pythonforandroid/bootstraps/common/build/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip

pythonforandroid/bootstraps/common/build/templates/build.tmpl.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:7.0.1'
8+
classpath 'com.android.tools.build:gradle:7.1.2'
99
}
1010
}
1111

@@ -41,6 +41,9 @@ android {
4141

4242

4343
packagingOptions {
44+
jniLibs {
45+
useLegacyPackaging = true
46+
}
4447
{% if debug_build -%}
4548
doNotStrip '**/*.so'
4649
{% else %}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{% if args.enable_androidx %}
22
android.useAndroidX=true
33
android.enableJetifier=true
4-
{% endif %}
5-
android.bundle.enableUncompressedNativeLibs=false
4+
{% endif %}

0 commit comments

Comments
 (0)