0
0
mirror of https://github.com/mediathekview/zapp.git synced 2024-09-20 20:23:04 +02:00
zapp/app/build.gradle

123 lines
3.3 KiB
Groovy
Raw Normal View History

apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
applicationId "de.christinecoenen.code.zapp"
2018-10-19 21:22:23 +02:00
minSdkVersion 21
targetSdkVersion 28
2019-05-21 17:09:56 +02:00
versionCode 34
versionName "2.2.2"
2018-09-29 20:34:52 +02:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
2017-11-02 20:35:13 +01:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2019-06-12 11:35:01 +02:00
packagingOptions {
exclude 'META-INF/library-core_release.kotlin_module'
}
2017-11-02 20:35:13 +01:00
buildTypes {
2017-03-26 13:51:21 +02:00
debug {
2017-10-13 16:13:47 +02:00
shrinkResources false
2017-03-26 13:51:21 +02:00
}
release {
2017-10-13 16:13:47 +02:00
shrinkResources true
2017-03-26 13:51:21 +02:00
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
testOptions {
unitTests {
includeAndroidResources = true
2019-06-19 10:48:32 +02:00
all {
testLogging {
events 'passed', 'skipped', 'failed', 'standardError'
exceptionFormat 'full'
}
if (project.hasProperty('ci')) {
// tests that should *not* run on ci machines:
exclude '**/JsonChannelListConnectionTest*'
}
2019-06-19 10:48:32 +02:00
}
}
}
}
configurations {
cleanedAnnotations
2018-12-06 21:08:24 +01:00
compile.exclude group: 'org.jetbrains', module: 'annotations'
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
2019-06-23 14:05:38 +02:00
// tests
debugImplementation 'androidx.test:core:1.2.0'
debugImplementation 'androidx.fragment:fragment-testing:1.1.0-beta01'
2019-05-23 14:55:58 +02:00
// device tests
2019-06-23 14:05:38 +02:00
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test:rules:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.2.0'
2019-05-23 14:55:58 +02:00
// unit tests
2019-06-23 14:05:38 +02:00
testImplementation 'androidx.test.ext:junit:1.1.1'
testImplementation 'org.robolectric:robolectric:4.3'
2019-05-29 21:12:16 +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'
2019-06-12 11:35:01 +02:00
implementation 'androidx.annotation:annotation:1.1.0'
2019-01-24 20:31:53 +01:00
implementation 'androidx.recyclerview:recyclerview:1.0.0'
2019-05-18 21:32:27 +02:00
implementation 'androidx.preference:preference:1.0.0'
2016-10-11 21:21:17 +02:00
// helper
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'commons-io:commons-io:2.6'
2016-10-11 21:21:17 +02:00
// sortable list
2019-06-12 11:35:01 +02:00
implementation 'com.github.woxthebox:draglistview:1.6.4'
2016-10-11 21:21:17 +02:00
2016-11-02 11:34:33 +01:00
// markdown
2019-05-16 20:35:38 +02:00
implementation 'ru.noties:markwon:2.0.2'
2016-11-02 11:34:33 +01:00
2016-10-11 21:21:17 +02:00
// butterknive:
2019-05-16 20:35:38 +02:00
implementation 'com.jakewharton:butterknife:10.1.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
2017-05-11 22:51:51 +02:00
// exo player
2019-01-24 20:31:53 +01:00
implementation 'com.google.android.exoplayer:exoplayer-core:2.9.2'
implementation 'com.google.android.exoplayer:exoplayer-hls:2.9.2'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.9.2'
implementation 'com.google.android.exoplayer:extension-mediasession:2.9.2'
2017-05-11 22:51:51 +02:00
// retrofit rest client
2019-06-12 11:35:01 +02:00
implementation 'com.squareup.retrofit2:retrofit:2.6.0'
implementation 'com.squareup.retrofit2:converter-gson:2.6.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
implementation 'com.jakewharton.timber:timber:4.7.1'
// joda time
2019-05-16 20:35:38 +02:00
implementation 'joda-time:joda-time:2.10.2'
2018-10-07 16:06:33 +02:00
// rxjava
2019-06-12 11:35:01 +02:00
implementation 'io.reactivex.rxjava2:rxjava:2.2.9'
2018-10-07 16:06:33 +02:00
// about libraries view
2019-07-07 13:33:23 +02:00
implementation 'com.mikepenz:aboutlibraries:7.0.1'
}