-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch back to Groovy DSL for root project build script
Unlike the Kotlin implementation allows creating extra properties that can be read inside the plugins block
- Loading branch information
Showing
3 changed files
with
29 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
buildscript { | ||
ext { | ||
agpVersion = "8.1.1" | ||
hiltVersion = "2.48" | ||
kotlinVersion = "1.9.10" | ||
} | ||
} | ||
|
||
plugins { | ||
id("com.android.application") version "$agpVersion" apply false | ||
id("com.android.library") version "$agpVersion" apply false | ||
id("org.jetbrains.kotlin.android") version "$kotlinVersion" apply false | ||
id("com.google.dagger.hilt.android") version "$hiltVersion" apply false | ||
id("com.google.devtools.ksp") version "$kotlinVersion-1.0.13" apply false | ||
id("org.gradle.android.cache-fix") version "2.7.4" apply false | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
google() | ||
mavenCentral() | ||
} | ||
} | ||
|
||
tasks.register("clean", Delete) { | ||
delete(rootProject.buildDir) | ||
} |
This file was deleted.
Oops, something went wrong.