gradle: Drop non-required buildscript blocks

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta 2024-05-30 11:43:59 +05:30
parent 6953f154b3
commit 09c9132ff0
2 changed files with 0 additions and 24 deletions

View file

@ -5,12 +5,6 @@
import org.jlleitschuh.gradle.ktlint.KtlintExtension
buildscript {
repositories {
google()
}
}
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
@ -21,10 +15,6 @@ plugins {
alias(libs.plugins.jlleitschuh.ktlint) apply false
}
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
subprojects {
if (path != ":storage:demo") {
apply(plugin = "org.jlleitschuh.gradle.ktlint")

View file

@ -4,20 +4,6 @@
//
pluginManagement {
buildscript {
repositories {
mavenCentral()
maven {
// https://issuetracker.google.com/issues/227160052#comment37
// This can be removed when we switch to Android Gradle plugin 8.2.
setUrl(uri("https://storage.googleapis.com/r8-releases/raw"))
}
}
dependencies {
classpath("com.android.tools:r8:8.2.28")
}
}
repositories {
gradlePluginPortal()
google()