-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathbuild.gradle
51 lines (42 loc) · 1.4 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
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
compileSdkVersion 29
defaultConfig {
applicationId "org.reduxkotlin.example.counter"
minSdkVersion 26
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
// MPP libraries don't currently get this resolution automatically
matchingFallbacks = ['release']
}
}
packagingOptions {
exclude 'META-INF/*.kotlin_module'
}
tasks.lint.enabled = false
}
dependencies {
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk8:$project.versions.kotlin"
implementation 'androidx.appcompat:appcompat:1.1.0-rc01'
implementation project(':examples:counter:common')
implementation project(':lib')
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}