Skip to content

Commit 705bbd0

Browse files
authored
Update android.js
Upgrade android gradle plugin to latest version
1 parent e08c03c commit 705bbd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/android.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ module.exports = platform => [{
22
name: () => `${platform}/build.gradle`,
33
content: ({ packageIdentifier }) => `buildscript {
44
repositories {
5+
google()
56
jcenter()
67
}
78
89
dependencies {
910
// Matches the RN Hello World template
1011
// https://github.com/facebook/react-native/blob/1e8f3b11027fe0a7514b4fc97d0798d3c64bc895/local-cli/templates/HelloWorld/android/build.gradle#L8
11-
classpath 'com.android.tools.build:gradle:2.2.3'
12+
classpath 'com.android.tools.build:gradle:3.3.1'
1213
}
1314
}
1415

0 commit comments

Comments
 (0)