Convert build-logic to a proper included build

This commit is contained in:
Harsh Shandilya 2021-11-14 11:27:44 +05:30
parent cbadee43cd
commit c2e2e4f842
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
6 changed files with 10 additions and 7 deletions

View file

@ -0,0 +1,3 @@
plugins { `kotlin-dsl` }
dependencies { implementation(libs.build.agp) }

View file

@ -0,0 +1 @@
plugins { `kotlin-dsl` }

View file

@ -1,3 +0,0 @@
plugins { `kotlin-dsl` }
dependencies { implementation(libs.build.spotless) }

View file

@ -0,0 +1,5 @@
plugins { `kotlin-dsl` }
dependencies {
implementation(libs.build.spotless)
}

View file

@ -13,6 +13,7 @@ spotless {
kotlinGradle {
ktfmt().googleStyle()
target("**/*.kts")
targetExclude("**/build/")
}
format("xml") {
target("**/*.xml")

View file

@ -1,7 +1,3 @@
rootProject.name = "build-logic"
enableFeaturePreview("VERSION_CATALOGS")
pluginManagement {
repositories {
google()