mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-27 06:30:29 +00:00
115 lines
4.2 KiB
Groovy
115 lines
4.2 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
defaultConfig {
|
|
applicationId "de.nicidienase.chaosflix"
|
|
minSdkVersion rootProject.ext.minSDK
|
|
targetSdkVersion rootProject.ext.targetSDK
|
|
// odd for touch, even for leanback
|
|
versionCode 13
|
|
versionName "0.2.3"
|
|
multiDexEnabled true
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
minifyEnabled false
|
|
useProguard false
|
|
}
|
|
release {
|
|
shrinkResources true
|
|
minifyEnabled true
|
|
useProguard false
|
|
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
|
|
}
|
|
dataBinding {
|
|
enabled = true
|
|
}
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
}
|
|
|
|
|
|
dependencies {
|
|
implementation 'de.nicidienase.chaosflix:common:1.2.1-SNAPSHOT'
|
|
|
|
implementation 'com.android.support:multidex:1.0.2'
|
|
|
|
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}"
|
|
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
|
|
implementation "com.android.support:design:${rootProject.ext.supportLibraryVersion}"
|
|
|
|
// implementation "android.arch.lifecycle:runtime:1.0.3"
|
|
implementation "android.arch.lifecycle:extensions:${rootProject.ext.archCompVersion}"
|
|
implementation "android.arch.lifecycle:common-java8:1.0.0"
|
|
implementation "android.arch.persistence.room:runtime:${rootProject.ext.archCompVersion}"
|
|
implementation "android.arch.persistence.room:rxjava2:${rootProject.ext.archCompVersion}"
|
|
kapt 'com.android.databinding:compiler:3.1.0-alpha03'
|
|
kapt "android.arch.lifecycle:compiler:${rootProject.ext.archCompVersion}"
|
|
// kapt "android.arch.persistence.room:compiler:${rootProject.ext.archCompVersion}"
|
|
implementation "org.jetbrains.kotlin:kotlin-reflect:1.1.50"
|
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
|
|
implementation 'com.squareup.retrofit2:converter-jackson:2.2.0'
|
|
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
|
|
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin:2.9.0'
|
|
|
|
implementation 'com.google.android.exoplayer:exoplayer:r2.5.2'
|
|
implementation 'com.squareup.picasso:picasso:2.5.2'
|
|
implementation 'com.jakewharton:butterknife:8.5.1'
|
|
kapt 'com.jakewharton:butterknife-compiler:8.5.1'
|
|
|
|
debugImplementation 'com.facebook.stetho:stetho:1.4.2'
|
|
debugImplementation 'com.facebook.stetho:stetho-okhttp3:1.4.2'
|
|
|
|
implementation 'io.reactivex.rxjava2:rxjava:2.1.3'
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
|
|
|
|
androidTestImplementation('com.android.support.test:rules:0.5') {
|
|
exclude module: 'support-annotations'
|
|
}
|
|
androidTestImplementation('com.android.support.test:runner:0.5') {
|
|
exclude module: 'support-annotations'
|
|
}
|
|
androidTestImplementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3'
|
|
androidTestImplementation 'org.hamcrest:hamcrest-library:1.3'
|
|
testCompile 'org.mockito:mockito-core:1.10.19'
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
}
|
|
implementation 'commons-io:commons-io:2.4'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|