Skip to content

Commit efffd17

Browse files
runningcodeclaude
andcommitted
build: Drop the root's SAGP declaration and local SAGP repository
With the Android sample and integration tests in their own builds, no project in the SDK build applies the Sentry Android Gradle Plugin. The root no longer declares it or looks it up in mavenLocal when useSagp is set; those builds declare it and handle useSagp themselves. The root keeps the AGP declaration: the SDK's Android modules apply com.android.library without a version and get AGP from it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 79ff2dd commit efffd17

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

‎build.gradle.kts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ plugins {
2525
alias(libs.plugins.gradle.versions) apply false
2626
alias(libs.plugins.spring.dependency.management) apply false
2727
id("io.sentry.javadoc.aggregate")
28-
alias(libs.plugins.sentry) apply false
2928
alias(libs.plugins.android.application) apply false
3029
}
3130

@@ -34,9 +33,6 @@ buildscript {
3433
google()
3534
}
3635
dependencies {
37-
// add classpath of sentry android gradle plugin
38-
// classpath("io.sentry:sentry-android-gradle-plugin:{version}")
39-
4036
classpath(libs.commons.compress)
4137
}
4238
}

‎settings.gradle.kts‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@ enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
22

33
pluginManagement {
44
repositories {
5-
// Prefer local SAGP artifact if one exists; otherwise fall back to libs.versions.toml.
6-
if (providers.gradleProperty("useSagp").isPresent) {
7-
mavenLocal {
8-
content {
9-
includeGroup("io.sentry")
10-
includeGroup("io.sentry.android.gradle")
11-
}
12-
}
13-
}
145
mavenCentral()
156
gradlePluginPortal()
167
google()

0 commit comments

Comments
 (0)