2020-11-20 15:38:08 +01:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
compileSdkVersion 30
|
|
|
|
|
buildToolsVersion "29.0.3"
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
applicationId "com.cappielloantonio.play"
|
|
|
|
|
minSdkVersion 26
|
|
|
|
|
targetSdkVersion 30
|
|
|
|
|
versionCode 1
|
|
|
|
|
versionName "1.1"
|
|
|
|
|
|
|
|
|
|
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 {
|
|
|
|
|
viewBinding = true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
2020-12-05 21:31:12 +01:00
|
|
|
|
2020-11-22 19:11:38 +01:00
|
|
|
// Jellyfin
|
|
|
|
|
implementation 'com.github.jellyfin.jellyfin-apiclient-java:android:0.7.7'
|
|
|
|
|
|
|
|
|
|
// Kotlin
|
2021-04-11 15:44:26 +02:00
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.4.32'
|
2020-11-20 15:38:08 +01:00
|
|
|
|
2020-11-22 19:11:38 +01:00
|
|
|
// AndroidX
|
|
|
|
|
implementation 'androidx.core:core-ktx:1.3.2'
|
2020-11-20 15:38:08 +01:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
|
|
|
|
|
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'
|
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.0'
|
|
|
|
|
implementation "androidx.room:room-runtime:2.2.6"
|
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'
|
2020-12-05 21:31:12 +01:00
|
|
|
implementation 'androidx.paging:paging-runtime-ktx:2.1.2'
|
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-04-11 15:44:26 +02:00
|
|
|
implementation 'com.google.android.material:material:1.3.0'
|
2020-11-22 19:11:38 +01:00
|
|
|
|
|
|
|
|
// VolleyRequest
|
2021-04-11 15:44:26 +02:00
|
|
|
implementation 'com.android.volley:volley:1.2.0'
|
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
|
|
|
|
|
|
|
|
// Permission
|
|
|
|
|
implementation 'pub.devrel:easypermissions:3.0.0'
|
|
|
|
|
|
|
|
|
|
// Glide
|
|
|
|
|
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
2021-04-12 10:35:41 +02:00
|
|
|
implementation 'com.github.bumptech.glide:annotations:4.11.0'
|
2020-12-08 20:30:21 +01:00
|
|
|
implementation 'com.github.bumptech.glide:okhttp3-integration:4.11.0'
|
2020-11-26 16:05:58 +01:00
|
|
|
implementation "com.github.woltapp:blurhash:f41a23cc50"
|
2020-12-05 21:31:12 +01:00
|
|
|
|
2020-12-08 11:12:44 +01:00
|
|
|
// Exoplayer
|
2021-03-18 16:20:20 +01:00
|
|
|
implementation 'com.google.android.exoplayer:exoplayer:2.12.2'
|
2020-12-08 11:12:44 +01:00
|
|
|
|
2020-11-20 15:38:08 +01:00
|
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
|
2021-04-11 15:44:26 +02:00
|
|
|
annotationProcessor "androidx.room:room-compiler:2.2.6"
|
2020-11-20 15:38:08 +01:00
|
|
|
testImplementation 'junit:junit:4.13.1'
|
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
|
|
|
|
debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'
|
|
|
|
|
}
|