Skip to content

Commit 8da93fd

Browse files
Christopher J. Brodyfriederbluemle
Christopher J. Brody
andcommitted
update Android build tools Gradle classpath
* update to `com.android.tools.build:gradle:3.5.0` * update comments Co-authored-by: Christopher J. Brody <[email protected]> Co-authored-by: Frieder Bluemle <[email protected]>
1 parent fb35257 commit 8da93fd

File tree

24 files changed

+96
-24
lines changed

24 files changed

+96
-24
lines changed

templates/android.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ buildscript {
1616
jcenter()
1717
}
1818
dependencies {
19-
classpath 'com.android.tools.build:gradle:3.4.1'
19+
// ref:
20+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
21+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
22+
classpath 'com.android.tools.build:gradle:3.5.0'
2023
}
2124
}
2225
}

tests/integration/cli/create/view/__snapshots__/cli-create-with-view.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@ buildscript {
140140
jcenter()
141141
}
142142
dependencies {
143-
classpath 'com.android.tools.build:gradle:3.4.1'
143+
// ref:
144+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
145+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
146+
classpath 'com.android.tools.build:gradle:3.5.0'
144147
}
145148
}
146149
}

tests/integration/cli/create/with-defaults/__snapshots__/cli-create-with-defaults.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@ buildscript {
140140
jcenter()
141141
}
142142
dependencies {
143-
classpath 'com.android.tools.build:gradle:3.4.1'
143+
// ref:
144+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
145+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
146+
classpath 'com.android.tools.build:gradle:3.5.0'
144147
}
145148
}
146149
}

tests/with-injection/create/view/with-defaults/__snapshots__/create-view-with-defaults.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,10 @@ buildscript {
215215
jcenter()
216216
}
217217
dependencies {
218-
classpath 'com.android.tools.build:gradle:3.4.1'
218+
// ref:
219+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
220+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
221+
classpath 'com.android.tools.build:gradle:3.5.0'
219222
}
220223
}
221224
}

tests/with-injection/create/view/with-example/with-defaults/__snapshots__/create-view-with-example-with-defaults.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ buildscript {
220220
jcenter()
221221
}
222222
dependencies {
223-
classpath 'com.android.tools.build:gradle:3.4.1'
223+
// ref:
224+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
225+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
226+
classpath 'com.android.tools.build:gradle:3.5.0'
224227
}
225228
}
226229
}

tests/with-injection/create/view/with-example/with-options/__snapshots__/create-view-with-example-with-options.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ buildscript {
220220
jcenter()
221221
}
222222
dependencies {
223-
classpath 'com.android.tools.build:gradle:3.4.1'
223+
// ref:
224+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
225+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
226+
classpath 'com.android.tools.build:gradle:3.5.0'
224227
}
225228
}
226229
}

tests/with-injection/create/view/with-options/for-android/__snapshots__/lib-view-android-config-options.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ buildscript {
177177
jcenter()
178178
}
179179
dependencies {
180-
classpath 'com.android.tools.build:gradle:3.4.1'
180+
// ref:
181+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
182+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
183+
classpath 'com.android.tools.build:gradle:3.5.0'
181184
}
182185
}
183186
}

tests/with-injection/create/with-defaults/__snapshots__/create-with-defaults.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,10 @@ buildscript {
215215
jcenter()
216216
}
217217
dependencies {
218-
classpath 'com.android.tools.build:gradle:3.4.1'
218+
// ref:
219+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
220+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
221+
classpath 'com.android.tools.build:gradle:3.5.0'
219222
}
220223
}
221224
}

tests/with-injection/create/with-example/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ buildscript {
220220
jcenter()
221221
}
222222
dependencies {
223-
classpath 'com.android.tools.build:gradle:3.4.1'
223+
// ref:
224+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
225+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
226+
classpath 'com.android.tools.build:gradle:3.5.0'
224227
}
225228
}
226229
}

tests/with-injection/create/with-example/with-missing-package-scripts/__snapshots__/recover-from-missing-package-scripts.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ buildscript {
220220
jcenter()
221221
}
222222
dependencies {
223-
classpath 'com.android.tools.build:gradle:3.4.1'
223+
// ref:
224+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
225+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
226+
classpath 'com.android.tools.build:gradle:3.5.0'
224227
}
225228
}
226229
}

tests/with-injection/create/with-example/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-null-prefix.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ buildscript {
220220
jcenter()
221221
}
222222
dependencies {
223-
classpath 'com.android.tools.build:gradle:3.4.1'
223+
// ref:
224+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
225+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
226+
classpath 'com.android.tools.build:gradle:3.5.0'
224227
}
225228
}
226229
}

tests/with-injection/create/with-example/with-options/__snapshots__/create-with-example-with-options.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,10 @@ buildscript {
220220
jcenter()
221221
}
222222
dependencies {
223-
classpath 'com.android.tools.build:gradle:3.4.1'
223+
// ref:
224+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
225+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
226+
classpath 'com.android.tools.build:gradle:3.5.0'
224227
}
225228
}
226229
}

tests/with-injection/create/with-name-in-camel-case/__snapshots__/create-with-name-in-camel-case.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,10 @@ buildscript {
215215
jcenter()
216216
}
217217
dependencies {
218-
classpath 'com.android.tools.build:gradle:3.4.1'
218+
// ref:
219+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
220+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
221+
classpath 'com.android.tools.build:gradle:3.5.0'
219222
}
220223
}
221224
}

tests/with-injection/create/with-options/for-android/__snapshots__/create-with-options-for-android.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ buildscript {
177177
jcenter()
178178
}
179179
dependencies {
180-
classpath 'com.android.tools.build:gradle:3.4.1'
180+
// ref:
181+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
182+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
183+
classpath 'com.android.tools.build:gradle:3.5.0'
181184
}
182185
}
183186
}

tests/with-injection/create/with-options/platforms-array/__snapshots__/platforms-array.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,10 @@ buildscript {
215215
jcenter()
216216
}
217217
dependencies {
218-
classpath 'com.android.tools.build:gradle:3.4.1'
218+
// ref:
219+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
220+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
221+
classpath 'com.android.tools.build:gradle:3.5.0'
219222
}
220223
}
221224
}

tests/with-injection/create/with-options/platforms-comma-separated/__snapshots__/platforms-comma-separated.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,10 @@ buildscript {
215215
jcenter()
216216
}
217217
dependencies {
218-
classpath 'com.android.tools.build:gradle:3.4.1'
218+
// ref:
219+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
220+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
221+
classpath 'com.android.tools.build:gradle:3.5.0'
219222
}
220223
}
221224
}

tests/with-injection/create/with-options/with-custom-module-prefix/__snapshots__/create-with-custom-module-prefix.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,10 @@ buildscript {
215215
jcenter()
216216
}
217217
dependencies {
218-
classpath 'com.android.tools.build:gradle:3.4.1'
218+
// ref:
219+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
220+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
221+
classpath 'com.android.tools.build:gradle:3.5.0'
219222
}
220223
}
221224
}

tests/with-injection/create/with-options/with-module-name/__snapshots__/create-with-module-name.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,10 @@ buildscript {
215215
jcenter()
216216
}
217217
dependencies {
218-
classpath 'com.android.tools.build:gradle:3.4.1'
218+
// ref:
219+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
220+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
221+
classpath 'com.android.tools.build:gradle:3.5.0'
219222
}
220223
}
221224
}

tests/with-mocks/cli/command/func/with-options/__snapshots__/cli-command-func-with-options.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,10 @@ buildscript {
219219
jcenter()
220220
}
221221
dependencies {
222-
classpath 'com.android.tools.build:gradle:3.4.1'
222+
// ref:
223+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
224+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
225+
classpath 'com.android.tools.build:gradle:3.5.0'
223226
}
224227
}
225228
}

tests/with-mocks/cli/program/with-defaults/for-android/__snapshots__/cli-program-with-defaults-for-android.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,10 @@ buildscript {
342342
jcenter()
343343
}
344344
dependencies {
345-
classpath 'com.android.tools.build:gradle:3.4.1'
345+
// ref:
346+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
347+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
348+
classpath 'com.android.tools.build:gradle:3.5.0'
346349
}
347350
}
348351
}

tests/with-mocks/lib/create/with-example/with-logging/with-defaults/__snapshots__/create-with-example-with-defaults.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ buildscript {
284284
jcenter()
285285
}
286286
dependencies {
287-
classpath 'com.android.tools.build:gradle:3.4.1'
287+
// ref:
288+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
289+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
290+
classpath 'com.android.tools.build:gradle:3.5.0'
288291
}
289292
}
290293
}

tests/with-mocks/lib/create/with-example/with-logging/with-error/__snapshots__/with-yarn-error-logging.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ buildscript {
284284
jcenter()
285285
}
286286
dependencies {
287-
classpath 'com.android.tools.build:gradle:3.4.1'
287+
// ref:
288+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
289+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
290+
classpath 'com.android.tools.build:gradle:3.5.0'
288291
}
289292
}
290293
}

tests/with-mocks/lib/create/with-example/with-logging/with-null-options/with-null-prefix/__snapshots__/create-with-example-with-options.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,10 @@ buildscript {
284284
jcenter()
285285
}
286286
dependencies {
287-
classpath 'com.android.tools.build:gradle:3.4.1'
287+
// ref:
288+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
289+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
290+
classpath 'com.android.tools.build:gradle:3.5.0'
288291
}
289292
}
290293
}

tests/with-mocks/lib/create/with-example/with-logging/with-options/__snapshots__/create-with-example-with-options.test.js.snap

+4-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,10 @@ buildscript {
278278
jcenter()
279279
}
280280
dependencies {
281-
classpath 'com.android.tools.build:gradle:3.4.1'
281+
// ref:
282+
// * https://github.com/facebook/react-native/blob/0.61-stable/template/android/build.gradle#L15
283+
// * https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
284+
classpath 'com.android.tools.build:gradle:3.5.0'
282285
}
283286
}
284287
}

0 commit comments

Comments
 (0)