2020-11-20 15:38:08 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
|
|
android {
|
2022-08-26 18:12:16 +02:00
|
|
|
compileSdkVersion 33
|
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
|
2022-08-26 18:12:16 +02:00
|
|
|
targetSdkVersion 33
|
2022-01-14 09:22:13 +01:00
|
|
|
versionCode 4
|
|
|
|
|
versionName "2.1.0"
|
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
|
2022-08-25 15:11:03 +02:00
|
|
|
implementation 'androidx.core:core-ktx:1.8.0'
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.5.0'
|
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
2022-01-18 17:38:25 +01:00
|
|
|
implementation "androidx.coordinatorlayout:coordinatorlayout:1.2.0"
|
2022-01-28 17:09:49 +01:00
|
|
|
implementation 'androidx.preference:preference-ktx:1.2.0'
|
2022-08-25 15:11:03 +02:00
|
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.5.1'
|
|
|
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.5.1'
|
2021-07-16 18:39:28 +02:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
2022-08-25 15:11:03 +02:00
|
|
|
implementation 'androidx.room:room-runtime:2.4.3'
|
2020-11-20 15:38:08 +01:00
|
|
|
implementation "androidx.cardview:cardview:1.0.0"
|
2021-12-26 19:47:20 +01:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2020-11-22 19:11:38 +01:00
|
|
|
|
2022-01-06 11:07:39 +01:00
|
|
|
// Google GMS
|
2022-08-25 15:11:03 +02:00
|
|
|
implementation 'com.google.android.gms:play-services-cast-framework:21.1.0'
|
2022-01-06 11:07:39 +01:00
|
|
|
|
2020-11-22 19:11:38 +01:00
|
|
|
// Android Material
|
2022-08-25 15:11:03 +02:00
|
|
|
implementation 'com.google.android.material:material:1.7.0-beta01'
|
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
|
2022-08-25 15:11:03 +02:00
|
|
|
implementation 'com.github.bumptech.glide:glide:4.13.2'
|
|
|
|
|
implementation 'com.github.bumptech.glide:annotations:4.13.2'
|
2020-12-05 21:31:12 +01:00
|
|
|
|
2021-12-26 19:47:20 +01:00
|
|
|
// Media3
|
2022-08-25 15:11:03 +02:00
|
|
|
implementation 'androidx.media3:media3-session:1.0.0-beta02'
|
|
|
|
|
implementation 'androidx.media3:media3-common:1.0.0-beta02'
|
|
|
|
|
implementation 'androidx.media3:media3-exoplayer:1.0.0-beta02'
|
|
|
|
|
implementation 'androidx.media3:media3-ui:1.0.0-beta02'
|
|
|
|
|
implementation 'androidx.media3:media3-cast:1.0.0-beta02'
|
|
|
|
|
|
|
|
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.2'
|
|
|
|
|
annotationProcessor 'androidx.room:room-compiler:2.4.3'
|
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'
|
2022-03-19 22:44:45 +01:00
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.6'
|
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'
|
2022-03-12 14:05:35 +01:00
|
|
|
|
|
|
|
|
// DB debug
|
2022-08-26 18:12:16 +02:00
|
|
|
// debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'
|
2020-11-20 15:38:08 +01:00
|
|
|
}
|