2020-11-20 15:38:08 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
|
|
android {
|
2021-07-21 16:47:47 +02:00
|
|
|
compileSdkVersion 31
|
2021-07-16 18:39:28 +02:00
|
|
|
buildToolsVersion '30.0.3'
|
2020-11-20 15:38:08 +01:00
|
|
|
|
|
|
|
|
defaultConfig {
|
2021-07-24 13:35:44 +02:00
|
|
|
applicationId "com.cappielloantonio.playforsubsonic"
|
2020-11-20 15:38:08 +01:00
|
|
|
minSdkVersion 26
|
2021-07-21 16:47:47 +02:00
|
|
|
targetSdkVersion 31
|
2020-11-20 15:38:08 +01:00
|
|
|
versionCode 1
|
2021-07-24 13:35:44 +02:00
|
|
|
versionName "1.0"
|
2020-11-20 15:38:08 +01:00
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
minifyEnabled false
|
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility 1.8
|
|
|
|
|
targetCompatibility 1.8
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildFeatures {
|
2021-08-01 16:25:45 +02:00
|
|
|
viewBinding true
|
2020-11-20 15:38:08 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
2020-12-05 21:31:12 +01:00
|
|
|
|
2020-11-22 19:11:38 +01:00
|
|
|
// AndroidX
|
2021-07-16 18:39:28 +02:00
|
|
|
implementation 'androidx.core:core-ktx:1.6.0'
|
2021-07-24 09:51:50 +02:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
2021-08-01 11:29:55 +02:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
|
2020-11-20 15:38:08 +01:00
|
|
|
implementation "androidx.coordinatorlayout:coordinatorlayout:1.1.0"
|
|
|
|
|
implementation 'androidx.preference:preference-ktx:1.1.1'
|
2021-04-11 15:44:26 +02:00
|
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
|
|
|
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'
|
2021-07-16 18:39:28 +02:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
2021-04-27 11:13:54 +02:00
|
|
|
implementation "androidx.room:room-runtime:2.3.0"
|
2020-11-20 15:38:08 +01:00
|
|
|
implementation "androidx.cardview:cardview:1.0.0"
|
2020-11-21 18:41:35 +01:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2021-04-11 15:44:26 +02:00
|
|
|
implementation "androidx.lifecycle:lifecycle-common-java8:2.3.1"
|
2020-11-22 19:11:38 +01:00
|
|
|
|
|
|
|
|
// Android Material
|
2021-07-16 18:39:28 +02:00
|
|
|
implementation 'com.google.android.material:material:1.4.0'
|
2020-11-22 19:11:38 +01:00
|
|
|
|
2021-08-04 08:33:53 +02:00
|
|
|
// Splashscreen
|
|
|
|
|
implementation 'androidx.core:core-splashscreen:1.0.0-alpha01'
|
|
|
|
|
|
2020-11-22 19:11:38 +01:00
|
|
|
// SearchBar
|
|
|
|
|
implementation "com.paulrybitskyi.persistentsearchview:persistentsearchview:1.1.3"
|
2020-11-25 15:12:07 +01:00
|
|
|
implementation "com.arthurivanets.adapster:adapster:1.0.13"
|
2020-11-22 19:11:38 +01:00
|
|
|
|
|
|
|
|
// Glide
|
2021-07-16 18:39:28 +02:00
|
|
|
implementation 'com.github.bumptech.glide:glide:4.12.0'
|
|
|
|
|
implementation 'com.github.bumptech.glide:annotations:4.12.0'
|
|
|
|
|
implementation 'com.github.bumptech.glide:okhttp3-integration:4.12.0'
|
2020-12-05 21:31:12 +01:00
|
|
|
|
2020-12-08 11:12:44 +01:00
|
|
|
// Exoplayer
|
2021-04-19 14:06:37 +02:00
|
|
|
implementation 'com.google.android.exoplayer:exoplayer:2.12.2'
|
2020-12-08 11:12:44 +01:00
|
|
|
|
2021-07-16 18:39:28 +02:00
|
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
|
2021-04-27 11:13:54 +02:00
|
|
|
annotationProcessor "androidx.room:room-compiler:2.3.0"
|
2021-04-20 17:47:06 +02:00
|
|
|
|
2021-07-24 12:28:06 +02:00
|
|
|
// Retrofit
|
|
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
2021-07-24 19:58:36 +02:00
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
|
2021-07-25 14:39:33 +02:00
|
|
|
implementation 'com.tickaroo.tikxml:retrofit-converter:0.8.15'
|
|
|
|
|
|
|
|
|
|
// XMLParser
|
|
|
|
|
implementation 'com.tickaroo.tikxml:annotation:0.9.0_11-SNAPSHOT'
|
|
|
|
|
implementation 'com.tickaroo.tikxml:core:0.9.0_11-SNAPSHOT'
|
|
|
|
|
annotationProcessor 'com.tickaroo.tikxml:processor:0.9.0_11-SNAPSHOT'
|
2021-07-26 19:03:51 +02:00
|
|
|
implementation 'com.tickaroo.tikxml:converter-date-rfc3339:0.9.0_11-SNAPSHOT'
|
2021-07-24 12:28:06 +02:00
|
|
|
|
2021-04-20 17:47:06 +02:00
|
|
|
// Database debugger via adb
|
2021-04-27 11:13:54 +02:00
|
|
|
// debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'
|
2021-04-20 18:04:14 +02:00
|
|
|
|
|
|
|
|
// Square - Canary
|
|
|
|
|
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'
|
2021-04-22 18:05:20 +02:00
|
|
|
|
|
|
|
|
// Red screen of death
|
2021-07-17 12:54:31 +02:00
|
|
|
// debugImplementation 'com.melegy.redscreenofdeath:red-screen-of-death:0.1.2'
|
2020-11-20 15:38:08 +01:00
|
|
|
}
|