-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
build.gradle
60 lines (52 loc) · 1.27 KB
/
build.gradle
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath Libs.AGP
classpath Libs.PROGUARD
classpath "io.sentry:sentry-android-gradle-plugin"
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.sentry.android.gradle'
if (BuildPluginsVersion.INSTANCE.isProguardApplicable()) {
apply plugin: 'com.guardsquare.proguard'
}
android {
compileSdk = LibsVersion.SDK_VERSION
defaultConfig {
minSdk LibsVersion.MIN_SDK_VERSION
targetSdk LibsVersion.SDK_VERSION
versionCode = 1
versionName = "1.0"
}
buildTypes {
release {
// AGP's R8 needs to be disabled.
minifyEnabled false
}
}
namespace 'com.example.sampleapp'
}
if (BuildPluginsVersion.INSTANCE.isProguardApplicable()) {
proguard {
configurations {
release {
defaultConfiguration "proguard-android-optimize.txt"
configuration "proguard-project.txt"
}
}
}
}
sentry {
autoUploadProguardMapping = CI.INSTANCE.canAutoUpload()
experimentalGuardsquareSupport = true
tracingInstrumentation {
enabled = false
}
autoInstallation {
enabled = false
}
}