-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathbuild.gradle.kts
59 lines (50 loc) · 1.31 KB
/
build.gradle.kts
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
plugins {
id("common-library")
}
android {
defaultConfig {
minSdk = 21
compileSdk = 33
targetSdk = 33
testInstrumentationRunner = "com.karumi.shot.ShotTestRunner"
testApplicationId = "com.vanpra.composematerialdialogs.test"
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android.txt"),
"proguard-rules.pro"
)
}
}
packagingOptions.excludes.addAll(
listOf(
"META-INF/DEPENDENCIES.txt",
"META-INF/LICENSE",
"META-INF/LICENSE.txt",
"META-INF/NOTICE",
"META-INF/NOTICE.txt",
"META-INF/AL2.0",
"META-INF/LGPL2.1"
)
)
buildFeatures {
buildConfig = false
compose = true
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
composeOptions {
kotlinCompilerExtensionVersion = Dependencies.AndroidX.Compose.compilerVersion
}
namespace = "com.vanpra.composematerialdialogs"
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
}
shot {
tolerance = 1.0 // Tolerance needed for CI
}