Skip to content

Commit 137e91c

Browse files
author
Christopher J. Brody
committed
Update generated build.gradle to match RN 0.58.6
Note that there is a small downgrade of the default build tools from Android Studio in order to match RN 0.58.6.
1 parent 0937fe2 commit 137e91c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

templates/android.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = platform => [{
99
dependencies {
1010
// Matches the RN Hello World template
1111
// https://github.com/facebook/react-native/blob/1e8f3b11027fe0a7514b4fc97d0798d3c64bc895/local-cli/templates/HelloWorld/android/build.gradle#L8
12-
classpath 'com.android.tools.build:gradle:3.3.1'
12+
classpath 'com.android.tools.build:gradle:3.2.1'
1313
}
1414
}
1515
@@ -20,8 +20,8 @@ def safeExtGet(prop, fallback) {
2020
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
2121
}
2222
23-
def DEFAULT_COMPILE_SDK_VERSION = 27
24-
def DEFAULT_BUILD_TOOLS_VERSION = "27.0.3"
23+
def DEFAULT_COMPILE_SDK_VERSION = 28
24+
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.2"
2525
def DEFAULT_MIN_SDK_VERSION = 16
2626
def DEFAULT_TARGET_SDK_VERSION = 27
2727

0 commit comments

Comments
 (0)