From 09c9132ff0c29405c1129d588004053bf0e4b2e7 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Thu, 30 May 2024 11:43:59 +0530 Subject: [PATCH] gradle: Drop non-required buildscript blocks Signed-off-by: Aayush Gupta --- build.gradle.kts | 10 ---------- settings.gradle.kts | 14 -------------- 2 files changed, 24 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 4285e7a2..4a1d9b06 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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") diff --git a/settings.gradle.kts b/settings.gradle.kts index 7da91e2c..2350388d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -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()