-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathbuild.gradle.kts
44 lines (40 loc) · 1.18 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
plugins {
id("com.android.application")
kotlin("android")
kotlin("android.extensions")
kotlin("kapt")
}
android {
compileSdkVersion(29)
defaultConfig {
applicationId = "org.reduxkotlin.example.counter"
minSdkVersion(26)
targetSdkVersion(29)
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
buildTypes {
getByName("release") {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
}
getByName("debug") {
// MPP libraries don't currently get this resolution automatically
matchingFallbacks = listOf("release")
}
}
packagingOptions {
exclude("META-INF/*.kotlin_module")
}
}
dependencies {
implementation(Libs.kotlin_stdlib_jdk8)
implementation(Libs.appcompat)
implementation(project(":examples:counter:common"))
implementation(project(":redux-kotlin-threadsafe"))
}