forked from PierfrancescoSoffritti/android-youtube-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (48 loc) · 2.36 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 plugin: 'kotlin-android'
apply from: '../dependencies.gradle'
android {
compileSdkVersion versions.compileSdk
defaultConfig {
minSdkVersion versions.minSdk
targetSdkVersion versions.compileSdk
versionCode versions.publishVersionCode_chromecast
versionName versions.publishVersion_chromecast
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
// 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)
packagingOptions {
exclude 'META-INF/core_release.kotlin_module'
}
}
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(':chromecast-sender')
implementation "androidx.appcompat:appcompat:$versions.androidxCore"
implementation "androidx.recyclerview:recyclerview:$versions.androidxRecyclerView"
implementation "androidx.constraintlayout:constraintlayout:$versions.androidxConstraintLayout"
implementation "androidx.mediarouter:mediarouter:$versions.androidxMediarouter"
implementation("com.google.api-client:google-api-client-android:$versions.googleApiClientAndroid") {
exclude group: 'com.google.guava'
exclude group: 'org.apache.httpcomponents'
exclude group: 'com.google.code.findbugs'
exclude group: 'com.google.http-client', module: 'google-http-client-jackson2'
}
implementation("com.google.apis:google-api-services-youtube:$versions.googleApiServicesYoutube") {
exclude group: 'com.google.guava'
exclude group: 'org.apache.httpcomponents'
exclude group: 'com.google.code.findbugs'
exclude group: 'com.google.http-client', module: 'google-http-client-jackson2'
}
implementation "com.github.PierfrancescoSoffritti:library-sample-app-template:$versions.sampleAppTemplate"
implementation "androidx.multidex:multidex:$versions.multiDex"
}