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
|
2021-09-13 12:46:51 +02:00
|
|
|
versionCode 2
|
|
|
|
|
versionName "1.1"
|
2020-11-20 15:38:08 +01:00
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2021-09-04 15:21:36 +02:00
|
|
|
|
|
|
|
|
javaCompileOptions {
|
|
|
|
|
annotationProcessorOptions {
|
|
|
|
|
arguments += ["room.schemaLocation": "$projectDir/schemas".toString()]
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-11-20 15:38:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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-11-03 14:57:22 +01:00
|
|
|
implementation 'androidx.core:core-ktx:1.7.0'
|
2021-11-24 14:55:40 +01:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.4.0'
|
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
|
2020-11-20 15:38:08 +01:00
|
|
|
implementation "androidx.coordinatorlayout:coordinatorlayout:1.1.0"
|
|
|
|
|
implementation 'androidx.preference:preference-ktx:1.1.1'
|
2021-09-01 15:36:38 +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-12-17 14:02:56 +01:00
|
|
|
implementation 'androidx.room:room-runtime:2.4.0'
|
2020-11-20 15:38:08 +01:00
|
|
|
implementation "androidx.cardview:cardview:1.0.0"
|
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
|
|
|
|
|
|
|
|
// SearchBar
|
2021-11-03 14:57:22 +01:00
|
|
|
implementation 'com.paulrybitskyi.persistentsearchview:persistentsearchview:1.1.4'
|
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'
|
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-12-17 14:02:56 +01:00
|
|
|
annotationProcessor 'androidx.room:room-compiler:2.4.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-11-24 14:55:40 +01:00
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.3'
|
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-08-14 16:08:08 +02:00
|
|
|
// Crash Report
|
|
|
|
|
debugImplementation 'com.balsikandar.android:crashreporter:1.1.0'
|
2020-11-20 15:38:08 +01:00
|
|
|
}
|