-
-
Notifications
You must be signed in to change notification settings - Fork 764
/
Copy pathbuild.gradle
59 lines (47 loc) · 1.93 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
57
58
59
apply plugin: 'com.android.application'
apply from: '../dependencies.gradle'
apply plugin: 'com.getkeepsafe.dexcount'
apply plugin: 'kotlin-android'
android {
compileSdkVersion versions.compileSdk
defaultConfig {
minSdkVersion versions.minSdk
targetSdkVersion versions.compileSdk
versionCode versions.publishVersionCode_core
versionName versions.publishVersion_core
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
resources {
// this is needed because I'm importing 2 modules called "core" (core and com.psoffritti.librarysampleapptemplate:core) (https://discuss.kotlinlang.org/t/disable-meta-inf-generation-in-gradle-android-project/3830)
excludes += ['META-INF/core_release.kotlin_module']
}
}
namespace 'com.pierfrancescosoffritti.aytplayersample'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
dependencies {
testImplementation "junit:junit:$versions.junit"
androidTestImplementation "androidx.test:runner:$versions.runner"
androidTestImplementation "androidx.test.espresso:espresso-core:$versions.espressoCore"
implementation project(':core')
implementation project(':custom-ui')
implementation project(':chromecast-sender')
implementation "androidx.appcompat:appcompat:$versions.appcompat"
implementation "androidx.recyclerview:recyclerview:$versions.androidxRecyclerView"
implementation "androidx.constraintlayout:constraintlayout:$versions.androidxConstraintLayout"
implementation "androidx.mediarouter:mediarouter:$versions.androidxMediarouter"
implementation "com.github.PierfrancescoSoffritti:library-sample-app-template:$versions.sampleAppTemplate"
debugImplementation "com.squareup.leakcanary:leakcanary-android:$versions.leakcanary"
}