Integrated Episode Api listing and caching PlayerActivity created for playing any listed passed Created and cached playlist for episodes for every season of show Updated jwplayer to latest v4.17.0 Integrated teasers api and cached data Created and cached playlist for teasers for every season of show
101 lines
3.2 KiB
Groovy
101 lines
3.2 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.17.0'
|
|
ext.exoplayerVersion = '1.1.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"
|
|
|
|
// exoplayer2
|
|
implementation 'com.google.android.exoplayer:exoplayer-core:2.19.1'
|
|
implementation 'com.google.android.exoplayer:exoplayer-ui:2.19.1'
|
|
implementation 'com.google.android.exoplayer:exoplayer-hls:2.19.1'
|
|
|
|
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
|
|
} |