chaosflix/touch/build.gradle

93 lines
3.3 KiB
Groovy
Raw Normal View History

2017-09-18 20:27:10 +00:00
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
2017-10-12 16:27:41 +00:00
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
2017-09-18 20:27:10 +00:00
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
2017-09-18 20:27:10 +00:00
defaultConfig {
applicationId "de.nicidienase.chaosflix"
minSdkVersion rootProject.ext.minSDK
targetSdkVersion rootProject.ext.targetSDK
2017-11-11 15:12:21 +00:00
// odd for touch, even for leanback
2018-09-09 09:01:10 +00:00
versionCode 27
2018-09-08 16:54:21 +00:00
versionName "0.3.0"
// multiDexEnabled true
2017-09-18 20:27:10 +00:00
}
buildTypes {
debug {
minifyEnabled false
useProguard false
}
release {
shrinkResources true
minifyEnabled true
useProguard false
2017-09-18 20:27:10 +00:00
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LICENSE'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/notice.txt'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
lintOptions {
abortOnError false
}
2017-09-24 18:53:12 +00:00
dataBinding {
enabled = true
}
2017-10-31 19:49:43 +00:00
buildToolsVersion rootProject.ext.buildToolsVersion
2017-09-18 20:27:10 +00:00
}
dependencies {
2018-09-08 16:54:21 +00:00
implementation project(':common')
2017-10-31 19:49:43 +00:00
2018-09-07 06:35:11 +00:00
implementation('com.mikepenz:aboutlibraries:6.1.1@aar') {
2017-11-24 23:13:58 +00:00
transitive = true
}
2017-12-25 13:52:42 +00:00
implementation 'com.github.medyo:android-about-page:1.2.2'
2017-10-12 16:27:41 +00:00
implementation "com.android.support:support-v4:${rootProject.ext.supportLibraryVersion}"
implementation "com.android.support:recyclerview-v7:${rootProject.ext.supportLibraryVersion}"
implementation "com.android.support:cardview-v7:${rootProject.ext.supportLibraryVersion}"
2018-12-10 00:27:02 +00:00
implementation "com.android.support.constraint:constraint-layout:${rootProject.ext.constraintLayoutVersion}"
2017-10-31 19:49:43 +00:00
implementation "com.android.support:design:${rootProject.ext.supportLibraryVersion}"
2017-12-25 14:55:21 +00:00
implementation "com.android.support:preference-v14:${rootProject.ext.supportLibraryVersion}"
2017-10-12 16:27:41 +00:00
2018-12-10 22:03:23 +00:00
implementation "com.google.android.exoplayer:exoplayer:r2.5.2"
2017-10-31 19:49:43 +00:00
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.9.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
2017-09-18 20:27:10 +00:00
2018-12-10 00:27:02 +00:00
implementation 'net.opacapp:multiline-collapsingtoolbar:27.1.0'
implementation 'net.rdrei.android.dirchooser:library:3.2@aar'
2018-12-10 22:03:23 +00:00
// implementation 'com.gu:option:1.3'
implementation 'com.github.guardian:Option:-SNAPSHOT'
2017-11-19 00:23:25 +00:00
2018-12-10 00:27:02 +00:00
testImplementation 'org.mockito:mockito-core:2.11.0'
androidTestImplementation('com.android.support.test:rules:0.5') {
2017-09-18 20:27:10 +00:00
exclude module: 'support-annotations'
}
androidTestImplementation('com.android.support.test:runner:0.5') {
2017-09-18 20:27:10 +00:00
exclude module: 'support-annotations'
}
2017-10-31 19:49:43 +00:00
androidTestImplementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3'
androidTestImplementation 'org.hamcrest:hamcrest-library:1.3'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2', {
2017-09-18 20:27:10 +00:00
exclude group: 'com.android.support', module: 'support-annotations'
}
}