Setup Android plugin using plugins and pluginManagement

This commit is contained in:
link2xt 2023-04-08 17:54:45 +00:00
parent 8e2dd50d89
commit 22058dd81d
2 changed files with 8 additions and 10 deletions

View file

@ -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
View file

@ -0,0 +1,6 @@
pluginManagement {
repositories {
google()
mavenCentral()
}
}