Use conventions instead of cross-project configuration
gradle userguide suggests to avoid allprojects/subprojects and use conventions instead https://docs.gradle.org/current/userguide/sharing_build_logic_between_subprojects.html#sec:convention_plugins_vs_cross_configuration
This commit is contained in:
parent
b8929ab414
commit
5d4065d141
15 changed files with 80 additions and 70 deletions
|
|
@ -2,6 +2,8 @@ import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
|
|||
|
||||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'checkstyle'
|
||||
id 'brouter.version-conventions'
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
@ -88,6 +90,11 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'androidx.appcompat:appcompat:1.6.1'
|
||||
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue