Skip to content

Commit 5995e37

Browse files
authored
Remove some buildscript blocks (#905)
1 parent 1fd67cd commit 5995e37

File tree

3 files changed

+7
-28
lines changed

3 files changed

+7
-28
lines changed

examples/android-gradle-kts/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
alias(libs.plugins.androidApplication) version BuildPluginsVersion.AGP
2+
id("com.android.application")
33
id("io.sentry.android.gradle")
44
}
55

examples/android-gradle/build.gradle

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
1-
buildscript {
2-
repositories {
3-
google()
4-
mavenCentral()
5-
}
6-
7-
dependencies {
8-
classpath Libs.AGP
9-
classpath "io.sentry:sentry-android-gradle-plugin"
10-
}
1+
plugins {
2+
id("com.android.application")
3+
id("io.sentry.android.gradle")
114
}
125

13-
apply plugin: 'com.android.application'
14-
apply plugin: 'io.sentry.android.gradle'
15-
166
android {
177
compileSdk = LibsVersion.SDK_VERSION
188
defaultConfig {

examples/android-ndk/build.gradle

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
1-
buildscript {
2-
repositories {
3-
google()
4-
mavenCentral()
5-
}
6-
7-
dependencies {
8-
classpath Libs.AGP
9-
classpath "io.sentry:sentry-android-gradle-plugin"
10-
}
1+
plugins {
2+
id("com.android.application")
3+
id("io.sentry.android.gradle")
114
}
125

13-
apply plugin: 'com.android.application'
14-
apply plugin: 'io.sentry.android.gradle'
15-
166
android {
177
compileSdk = LibsVersion.SDK_VERSION
188
ndkVersion = "24.0.8215888"
@@ -37,7 +27,6 @@ android {
3727
}
3828

3929
if (System.getenv("AUTO_UPLOAD")) {
40-
apply plugin: 'io.sentry.android.gradle'
4130
sentry {
4231
autoUploadProguardMapping = false
4332
uploadNativeSymbols = true

0 commit comments

Comments
 (0)