Setup Android plugin using plugins and pluginManagement
This commit is contained in:
parent
8e2dd50d89
commit
22058dd81d
2 changed files with 8 additions and 10 deletions
12
build.gradle
12
build.gradle
|
|
@ -1,15 +1,7 @@
|
|||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:7.4.2'
|
||||
}
|
||||
plugins {
|
||||
id 'com.android.application' version '7.4.2'
|
||||
}
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
|
|
|
|||
6
settings.gradle
Normal file
6
settings.gradle
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
pluginManagement {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue