forked from getsentry/sentry-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
32 lines (26 loc) · 783 Bytes
/
Copy pathbuild.gradle.kts
File metadata and controls
32 lines (26 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
plugins {
id("com.android.library")
alias(libs.plugins.kotlin.android)
alias(libs.plugins.gradle.versions)
}
android {
compileSdk = libs.versions.compileSdk.get().toInt()
namespace = "io.sentry.android"
defaultConfig { minSdk = libs.versions.minSdk.get().toInt() }
buildFeatures {
// Determines whether to generate a BuildConfig class.
buildConfig = false
}
buildTypes {
getByName("debug") { consumerProguardFiles("proguard-rules.pro") }
getByName("release") { consumerProguardFiles("proguard-rules.pro") }
}
androidComponents.beforeVariants {
it.enable = !Config.Android.shouldSkipDebugVariant(it.buildType)
}
}
dependencies {
api(projects.sentryAndroidCore)
api(projects.sentryAndroidNdk)
api(projects.sentryAndroidReplay)
}