-
Notifications
You must be signed in to change notification settings - Fork 163
/
build.gradle.kts
44 lines (37 loc) · 902 Bytes
/
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
plugins {
kotlin("multiplatform")
id("com.android.library")
id("org.jlleitschuh.gradle.ktlint")
}
kotlin {
android()
}
ktlint {
verbose.set(true)
outputToConsole.set(true)
}
android {
compileSdkVersion(30)
defaultConfig {
minSdkVersion(23)
targetSdkVersion(30)
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
}
}
flavorDimensions("beer")
productFlavors {
register("weissbier")
register("kellerbier")
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}