-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.gradle
56 lines (44 loc) · 1.64 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
plugins {
id 'com.android.library'
id 'kotlin-android'
}
apply from: "$rootDir/config/detekt.gradle"
apply from: "$rootDir/config/ktlint.gradle"
apply from: "$rootDir/config/spotless.gradle"
def ext = rootProject.extensions.ext
android {
compileSdkVersion ext.android.compileSdk
defaultConfig {
minSdkVersion ext.android.minSdk
targetSdkVersion ext.android.targetSdk
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility ext.compiler.java
targetCompatibility ext.compiler.java
}
kotlinOptions {
jvmTarget = ext.compiler.java
}
}
dependencies {
def versions = rootProject.extensions.ext.version
implementation "androidx.core:core-ktx:$versions.androidKtx"
implementation "androidx.appcompat:appcompat:$versions.appCompat"
implementation "com.google.android.gms:play-services-basement:$versions.playServices"
implementation "androidx.security:security-crypto:$versions.crypto"
api "com.squareup.okhttp3:okhttp:$versions.okhttp"
testImplementation "junit:junit:$versions.junit"
testImplementation "org.robolectric:robolectric:$versions.robolectric"
androidTestImplementation "androidx.test.ext:junit:$versions.junit"
androidTestImplementation "androidx.test.espresso:espresso-core:$versions.espresso"
}