Skip to content

Commit 2b7039c

Browse files
spruce-bruceandpor
authored andcommitted
Resolve #294: add google() repo, use gradle 3.1.4 (#309)
1 parent 3d309b2 commit 2b7039c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/android-native/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
buildscript {
22
repositories {
3+
google()
34
jcenter()
45
}
56

67
dependencies {
7-
classpath 'com.android.tools.build:gradle:2.2.0'
8+
classpath 'com.android.tools.build:gradle:3.1.4'
89
}
910
}
1011

@@ -29,7 +30,7 @@ android {
2930
}
3031
sourceSets.main {
3132
jni.srcDirs = [] // This prevents the auto generation of Android.mk
32-
jniLibs.srcDir 'libs'
33+
jniLibs.srcDir 'libs'
3334
}
3435
}
3536

src/android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
buildscript {
22
repositories {
3+
google()
34
jcenter()
45
}
56

67
dependencies {
7-
classpath 'com.android.tools.build:gradle:2.2.0'
8+
classpath 'com.android.tools.build:gradle:3.1.4'
89
}
910
}
1011

0 commit comments

Comments
 (0)