2017-09-18 20:27:10 +00:00
|
|
|
apply plugin: 'com.android.application'
|
2017-10-04 21:03:23 +00:00
|
|
|
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 {
|
2017-10-04 20:23:56 +00:00
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
2017-09-18 20:27:10 +00:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "de.nicidienase.chaosflix"
|
2017-10-04 20:23:56 +00:00
|
|
|
minSdkVersion rootProject.ext.minSDK
|
|
|
|
targetSdkVersion rootProject.ext.targetSDK
|
2017-09-18 20:27:10 +00:00
|
|
|
versionCode 5
|
|
|
|
versionName "0.2.0"
|
|
|
|
multiDexEnabled true
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
minifyEnabled false
|
|
|
|
useProguard false
|
|
|
|
}
|
|
|
|
release {
|
|
|
|
shrinkResources true
|
|
|
|
minifyEnabled true
|
|
|
|
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 {
|
2017-11-02 23:00:46 +00:00
|
|
|
implementation 'de.nicidienase.chaosflix:common:1.2.0-SNAPSHOT'
|
2017-10-31 19:49:43 +00:00
|
|
|
|
|
|
|
implementation 'com.android.support:multidex:1.0.1'
|
2017-10-12 16:27:41 +00:00
|
|
|
|
2017-10-04 20:23:56 +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}"
|
2017-09-21 22:39:02 +00:00
|
|
|
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
|
2017-10-31 19:49:43 +00:00
|
|
|
implementation "com.android.support:design:${rootProject.ext.supportLibraryVersion}"
|
2017-10-12 16:27:41 +00:00
|
|
|
|
2017-11-02 23:00:46 +00:00
|
|
|
// implementation "android.arch.lifecycle:runtime:1.0.3"
|
2017-10-12 16:27:41 +00:00
|
|
|
implementation "android.arch.lifecycle:extensions:${rootProject.ext.archCompVersion}"
|
2017-10-24 19:40:23 +00:00
|
|
|
implementation "android.arch.lifecycle:common-java8:1.0.0-rc1"
|
2017-10-12 16:27:41 +00:00
|
|
|
implementation "android.arch.persistence.room:runtime:${rootProject.ext.archCompVersion}"
|
|
|
|
implementation "android.arch.persistence.room:rxjava2:${rootProject.ext.archCompVersion}"
|
2017-10-31 19:49:43 +00:00
|
|
|
kapt 'com.android.databinding:compiler:3.1.0-alpha01'
|
2017-10-12 16:27:41 +00:00
|
|
|
kapt "android.arch.lifecycle:compiler:${rootProject.ext.archCompVersion}"
|
2017-11-02 23:00:46 +00:00
|
|
|
// kapt "android.arch.persistence.room:compiler:${rootProject.ext.archCompVersion}"
|
2017-10-31 19:49:43 +00:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-reflect:1.1.50"
|
2017-09-18 20:27:10 +00:00
|
|
|
|
2017-10-31 19:49:43 +00:00
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.2.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-jackson:2.2.0'
|
|
|
|
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.2.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'
|
2017-10-12 16:27:41 +00:00
|
|
|
kapt 'com.jakewharton:butterknife-compiler:8.5.1'
|
2017-09-18 20:27:10 +00:00
|
|
|
|
|
|
|
debugCompile 'com.facebook.stetho:stetho:1.4.2'
|
|
|
|
debugCompile 'com.facebook.stetho:stetho-okhttp3:1.4.2'
|
|
|
|
|
2017-10-31 19:49:43 +00:00
|
|
|
implementation 'io.reactivex.rxjava2:rxjava:2.1.3'
|
|
|
|
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
|
|
|
|
|
2017-09-18 20:27:10 +00:00
|
|
|
androidTestCompile('com.android.support.test:rules:0.5') {
|
|
|
|
exclude module: 'support-annotations'
|
|
|
|
}
|
|
|
|
androidTestCompile('com.android.support.test:runner:0.5') {
|
|
|
|
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'
|
2017-09-18 20:27:10 +00:00
|
|
|
testCompile 'org.mockito:mockito-core:1.10.19'
|
2017-10-31 19:49:43 +00:00
|
|
|
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'
|
|
|
|
}
|
2017-10-31 19:49:43 +00:00
|
|
|
implementation 'commons-io:commons-io:2.4'
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
2017-10-04 21:03:23 +00:00
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2017-09-18 20:27:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-09-19 12:51:04 +00:00
|
|
|
|
2017-09-19 17:43:23 +00:00
|
|
|
|
2017-09-21 22:39:02 +00:00
|
|
|
|
2017-09-26 15:03:57 +00:00
|
|
|
|