2016-09-12 12:20:24 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2018-09-12 15:18:12 +02:00
|
|
|
compileSdkVersion 28
|
2018-09-29 19:05:26 +02:00
|
|
|
buildToolsVersion '28.0.3'
|
2016-09-12 12:20:24 +02:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "de.christinecoenen.code.zapp"
|
2018-10-19 21:22:23 +02:00
|
|
|
minSdkVersion 21
|
2018-09-12 15:18:12 +02:00
|
|
|
targetSdkVersion 28
|
2018-10-21 20:55:27 +02:00
|
|
|
versionCode 29
|
|
|
|
versionName "2.0.0"
|
2018-09-29 20:34:52 +02:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2016-09-12 12:20:24 +02:00
|
|
|
}
|
2017-11-02 20:35:13 +01:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2016-09-12 12:20:24 +02:00
|
|
|
buildTypes {
|
2017-03-26 13:51:21 +02:00
|
|
|
debug {
|
2017-10-13 16:13:47 +02:00
|
|
|
shrinkResources false
|
2018-10-10 16:59:20 +02:00
|
|
|
minifyEnabled true
|
2017-03-26 13:51:21 +02:00
|
|
|
useProguard false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
signingConfig signingConfigs.debug
|
|
|
|
}
|
2016-09-12 12:20:24 +02:00
|
|
|
release {
|
2017-10-13 16:13:47 +02:00
|
|
|
shrinkResources true
|
2017-03-26 13:51:21 +02:00
|
|
|
minifyEnabled true
|
2017-05-11 16:48:47 +02:00
|
|
|
useProguard true
|
2016-09-12 12:20:24 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-29 19:05:26 +02:00
|
|
|
configurations {
|
|
|
|
cleanedAnnotations
|
|
|
|
compile.exclude group: 'org.jetbrains' , module:'annotations'
|
|
|
|
}
|
|
|
|
|
2016-09-12 12:20:24 +02:00
|
|
|
dependencies {
|
2018-04-06 14:13:19 +02:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2016-10-05 16:55:01 +02:00
|
|
|
|
2016-10-11 21:21:17 +02:00
|
|
|
// tests
|
2018-04-06 14:13:19 +02:00
|
|
|
testImplementation 'junit:junit:4.12'
|
2018-09-29 20:34:52 +02:00
|
|
|
androidTestImplementation 'androidx.annotation:annotation:1.0.0'
|
2018-11-23 14:43:49 +01:00
|
|
|
androidTestImplementation 'androidx.test:runner:1.1.0'
|
|
|
|
androidTestImplementation 'androidx.test:rules:1.1.0'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.1.0'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-accessibility:3.1.0'
|
2017-09-02 10:39:23 +02:00
|
|
|
|
2016-10-11 21:21:17 +02:00
|
|
|
// support
|
2018-11-23 14:43:49 +01:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
2018-09-29 20:34:52 +02:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
2018-10-24 21:28:29 +02:00
|
|
|
implementation 'androidx.annotation:annotation:1.0.0'
|
2016-10-11 21:21:17 +02:00
|
|
|
|
|
|
|
// helper
|
2018-09-29 19:05:26 +02:00
|
|
|
implementation 'com.google.code.gson:gson:2.8.5'
|
2018-04-06 14:13:19 +02:00
|
|
|
implementation 'commons-io:commons-io:2.6'
|
2016-10-11 21:21:17 +02:00
|
|
|
|
|
|
|
// sortable list
|
2018-09-29 19:05:26 +02:00
|
|
|
implementation 'com.github.woxthebox:draglistview:1.6.2'
|
2016-10-11 21:21:17 +02:00
|
|
|
|
2016-11-02 11:34:33 +01:00
|
|
|
// markdown
|
2018-10-03 16:35:36 +02:00
|
|
|
implementation "ru.noties:markwon:2.0.0"
|
2016-11-02 11:34:33 +01:00
|
|
|
|
2016-10-11 21:21:17 +02:00
|
|
|
// butterknive:
|
2018-09-29 20:34:52 +02:00
|
|
|
// https://github.com/JakeWharton/butterknife/issues/1270
|
2018-11-23 14:43:49 +01:00
|
|
|
implementation 'com.jakewharton:butterknife:9.0.0-rc2'
|
|
|
|
annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0-rc2'
|
2017-04-02 16:36:55 +02:00
|
|
|
|
2017-05-11 22:51:51 +02:00
|
|
|
// exo player
|
2018-10-07 14:39:08 +02:00
|
|
|
implementation 'com.google.android.exoplayer:exoplayer-core:2.9.0'
|
|
|
|
implementation 'com.google.android.exoplayer:exoplayer-hls:2.9.0'
|
|
|
|
implementation 'com.google.android.exoplayer:exoplayer-ui:2.9.0'
|
|
|
|
implementation 'com.google.android.exoplayer:extension-mediasession:2.9.0'
|
2017-05-11 22:51:51 +02:00
|
|
|
|
2017-07-21 08:30:06 +02:00
|
|
|
// retrofit rest client
|
2018-04-06 14:22:07 +02:00
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
|
2017-07-29 15:48:59 +02:00
|
|
|
|
|
|
|
// ACRA crash reporting
|
2018-04-06 14:22:07 +02:00
|
|
|
releaseImplementation 'ch.acra:acra:4.11'
|
2017-07-30 14:46:07 +02:00
|
|
|
|
|
|
|
// timber logging
|
2018-09-29 19:05:26 +02:00
|
|
|
implementation 'com.jakewharton.timber:timber:4.7.1'
|
2017-08-03 17:41:26 +02:00
|
|
|
|
|
|
|
// joda time
|
2018-09-29 19:05:26 +02:00
|
|
|
implementation 'joda-time:joda-time:2.10'
|
2017-11-04 17:57:27 +01:00
|
|
|
|
2018-10-07 16:06:33 +02:00
|
|
|
// rxjava
|
|
|
|
implementation "io.reactivex.rxjava2:rxjava:2.2.2"
|
|
|
|
|
2017-11-04 17:57:27 +01:00
|
|
|
// about libraries view
|
2018-09-30 14:49:29 +02:00
|
|
|
implementation('com.mikepenz:aboutlibraries:6.2.0@aar') {
|
2017-11-04 17:57:27 +01:00
|
|
|
transitive = true
|
|
|
|
}
|
2016-09-12 12:20:24 +02:00
|
|
|
}
|