continue watching data showing in recyclerview clearing cached data when user logs out and logs in with new account custom spinner for category in web series started making ui for Show details page and episode listing
96 lines
3.0 KiB
Groovy
96 lines
3.0 KiB
Groovy
plugins {
|
|
alias(libs.plugins.androidApplication)
|
|
alias(libs.plugins.jetbrainsKotlinAndroid)
|
|
}
|
|
|
|
android {
|
|
namespace 'com.woka'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
applicationId "com.woka"
|
|
minSdk 24
|
|
targetSdk 34
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
buildConfigField "String", "WOKA_STAGINNG_BASE_URL", WOKA_STAGINNG_BASE_URL
|
|
buildConfigField "String", "WOKA_USER_NAME", WOKA_USER_NAME
|
|
buildConfigField "String", "WOKA_PASSWORD", WOKA_PASSWORD
|
|
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
|
|
debug{
|
|
buildConfigField "String", "WOKA_STAGINNG_BASE_URL", WOKA_STAGINNG_BASE_URL
|
|
buildConfigField "String", "WOKA_USER_NAME", WOKA_USER_NAME
|
|
buildConfigField "String", "WOKA_PASSWORD", WOKA_PASSWORD
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
|
|
buildFeatures{
|
|
viewBinding true
|
|
buildConfig true
|
|
}
|
|
}
|
|
|
|
ext.jwPlayerVersion = '4.6.0'
|
|
ext.exoplayerVersion = '2.19.1'
|
|
|
|
dependencies {
|
|
implementation "com.facebook.shimmer:shimmer:0.5.0"
|
|
|
|
implementation "com.airbnb.android:lottie:6.4.0"
|
|
implementation "androidx.core:core-splashscreen:1.0.1"
|
|
|
|
implementation 'com.google.android.flexbox:flexbox:3.0.0'
|
|
|
|
implementation 'com.github.bumptech.glide:glide:4.16.0'
|
|
|
|
// dynamics text sizes
|
|
implementation 'com.intuit.ssp:ssp-android:1.1.1'
|
|
// dynamic sizes
|
|
implementation 'com.intuit.sdp:sdp-android:1.1.1'
|
|
|
|
// retrofit
|
|
def retrofit_version = "2.11.0"
|
|
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
|
|
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
|
|
implementation("com.squareup.okhttp3:logging-interceptor:4.12.0")
|
|
|
|
def lifecycle_version = "2.7.0"
|
|
// ViewModel
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
|
|
implementation("androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version")
|
|
|
|
// circle image view
|
|
implementation 'de.hdodenhof:circleimageview:3.1.0'
|
|
|
|
// jwplayer
|
|
implementation "com.jwplayer:jwplayer-core:$jwPlayerVersion"
|
|
implementation "com.jwplayer:jwplayer-common:$jwPlayerVersion"
|
|
|
|
implementation libs.androidx.core.ktx
|
|
implementation libs.androidx.appcompat
|
|
implementation libs.material
|
|
implementation libs.androidx.activity
|
|
implementation libs.androidx.constraintlayout
|
|
implementation libs.androidx.navigation.fragment.ktx
|
|
implementation libs.androidx.navigation.ui.ktx
|
|
testImplementation libs.junit
|
|
androidTestImplementation libs.androidx.junit
|
|
androidTestImplementation libs.androidx.espresso.core
|
|
} |