-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcommon-android-library.gradle
44 lines (37 loc) · 1.16 KB
/
common-android-library.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
import com.christopherelias.blockchain.buildsrc.DefaultConfig
import com.christopherelias.blockchain.buildsrc.Releases
import com.christopherelias.blockchain.buildsrc.Libs
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion DefaultConfig.compileSdk
defaultConfig {
minSdkVersion DefaultConfig.minSdk
targetSdkVersion DefaultConfig.targetSdk
versionCode Releases.versionCode
versionName Releases.versionName
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
buildTypes {
debug {
debuggable true
}
}
kotlinOptions.jvmTarget = "1.8"
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LGPL2.1'
exclude 'META-INF/AL2.0'
exclude("META-INF/*.kotlin_module")
}
}
dependencies {
implementation Libs.Kotlin.stdlib
}