-
-
Notifications
You must be signed in to change notification settings - Fork 471
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
29 lines (23 loc) · 696 Bytes
/
build.gradle.kts
File metadata and controls
29 lines (23 loc) · 696 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
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
plugins {
id("com.android.library")
alias(libs.plugins.kotlin.android)
}
android {
compileSdk = libs.versions.compileSdk.get().toInt()
namespace = "io.sentry.android.distribution"
defaultConfig { minSdk = libs.versions.minSdk.get().toInt() }
buildFeatures { buildConfig = false }
}
kotlin {
jvmToolchain(17)
compilerOptions.languageVersion = KotlinVersion.KOTLIN_1_9
explicitApi()
}
androidComponents.beforeVariants {
it.enable = !Config.Android.shouldSkipDebugVariant(it.buildType)
}
dependencies {
implementation(projects.sentry)
implementation(kotlin(Config.kotlinStdLib, Config.kotlinStdLibVersionAndroid))
}