Skip to content

Commit 7ed5ff3

Browse files
committed
Remove buildscript block from root build.gradle
This also removes the commons library. Do we know why that was there?
1 parent 0285c02 commit 7ed5ff3

3 files changed

Lines changed: 5 additions & 19 deletions

File tree

build.gradle.kts

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,10 @@ plugins {
2727
alias(libs.plugins.errorprone) apply false
2828
alias(libs.plugins.gradle.versions) apply false
2929
alias(libs.plugins.spring.dependency.management) apply false
30-
}
31-
32-
buildscript {
33-
repositories {
34-
google()
35-
}
36-
dependencies {
37-
classpath(Config.BuildPlugins.androidGradle)
38-
39-
// add classpath of sentry android gradle plugin
40-
// classpath("io.sentry:sentry-android-gradle-plugin:{version}")
41-
42-
classpath(Config.BuildPlugins.commonsCompressOverride)
43-
}
30+
id("com.android.library") version Config.AGP apply false
31+
id("com.android.application") version Config.AGP apply false
32+
// add classpath of sentry android gradle plugin
33+
// id("io.sentry.android.gradle") version "5.6.0" apply false
4434
}
4535

4636
apiValidation {

buildSrc/src/main/java/Config.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ object Config {
1111

1212
val androidComposeCompilerVersion = "1.5.14"
1313

14-
object BuildPlugins {
15-
val androidGradle = "com.android.tools.build:gradle:$AGP"
16-
val commonsCompressOverride = "org.apache.commons:commons-compress:1.25.0"
17-
}
18-
1914
object Android {
2015
val abiFilters = listOf("x86", "armeabi-v7a", "x86_64", "arm64-v8a")
2116

settings.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ pluginManagement {
44
repositories {
55
mavenCentral()
66
gradlePluginPortal()
7+
google()
78
}
89
}
910

0 commit comments

Comments
 (0)