Skip to content

Commit 7f8242f

Browse files
authored
Merge pull request kivy#1507 from opacam/fix-ci-gradle
Update gradle version
2 parents 1ee34ad + d8e3d51 commit 7f8242f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

pythonforandroid/bootstraps/sdl2/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-3.3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
buildscript {
33
repositories {
44
jcenter()
5+
google()
56
}
67
dependencies {
7-
classpath 'com.android.tools.build:gradle:2.3.1'
8+
classpath 'com.android.tools.build:gradle:3.1.4'
89
}
910
}
1011

pythonforandroid/toolchain.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,9 @@ def apk(self, args):
847847

848848
# gradle output apks somewhere else
849849
# and don't have version in file
850-
apk_dir = join(dist.dist_dir, "build", "outputs", "apk")
850+
apk_dir = join(dist.dist_dir,
851+
"build", "outputs", "apk",
852+
args.build_mode)
851853
apk_glob = "*-{}.apk"
852854
apk_add_version = True
853855

0 commit comments

Comments
 (0)