We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 611e130 commit 1c94420Copy full SHA for 1c94420
android/build.gradle
@@ -3,13 +3,16 @@ def safeExtGet(prop, fallback) {
3
}
4
5
buildscript {
6
+ // Only need dependencies when building in isolation. As a library we can assume repos from parent.
7
+ if (project == rootProject) {
8
repositories {
- mavenCentral()
9
+ google()
10
+ mavenCentral()
11
-
12
dependencies {
- classpath 'com.android.tools.build:gradle:1.5.0'
13
+ classpath("com.android.tools.build:gradle:7.2.1")
14
15
+ }
16
17
18
apply plugin: 'com.android.library'
0 commit comments