forked from ChristopherME/movies-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
common-android-library.gradle
45 lines (39 loc) · 1.26 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
45
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-parcelize'
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
buildConfigField("String", "RootPackage", "\"com.christopher_elias.movies\"")
}
}
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
testImplementation Libs.junit4
//androidTestImplementation Dependencies.androidXRunner
//androidTestImplementation Dependencies.androidXEspresso
}