91 lines
2.4 KiB
Groovy
91 lines
2.4 KiB
Groovy
plugins {
|
|
alias(libs.plugins.android.application)
|
|
}
|
|
|
|
android {
|
|
namespace 'com.viontv.app'
|
|
compileSdk 35
|
|
|
|
defaultConfig {
|
|
applicationId "com.viontv.app"
|
|
minSdk 24
|
|
targetSdk 35
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
// signingConfigs {
|
|
// debug {
|
|
// storeFile file('viontv.jks')
|
|
// storePassword "android123456"
|
|
// keyAlias 'key0'
|
|
// keyPassword "android123456"
|
|
// v1SigningEnabled true
|
|
// v2SigningEnabled true
|
|
// }
|
|
// release {
|
|
// storeFile file('viontv.jks')
|
|
// storePassword "android123456"
|
|
// keyAlias 'key0'
|
|
// keyPassword "android123456"
|
|
// v1SigningEnabled true
|
|
// v2SigningEnabled true
|
|
// }
|
|
// }
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
viewBinding {
|
|
enabled true
|
|
}
|
|
|
|
dataBinding {
|
|
enabled true
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation libs.appcompat
|
|
implementation libs.material
|
|
implementation libs.constraintlayout
|
|
implementation libs.lifecycle.livedata.ktx
|
|
implementation libs.lifecycle.viewmodel.ktx
|
|
testImplementation libs.junit
|
|
androidTestImplementation libs.ext.junit
|
|
androidTestImplementation libs.espresso.core
|
|
//implementation libs.lifecycle
|
|
implementation libs.retrofit
|
|
implementation libs.okhttplog
|
|
implementation libs.converter.scalars
|
|
implementation libs.converter.gson
|
|
implementation libs.adapter.rxjava2
|
|
implementation libs.rxjava
|
|
implementation libs.rxandroid
|
|
implementation libs.refreshlayout
|
|
implementation libs.refreshheader
|
|
implementation libs.refreshfooter
|
|
implementation libs.banner
|
|
implementation libs.recyclerview
|
|
implementation libs.glide
|
|
implementation libs.avloadingView
|
|
implementation libs.media3exoplayer
|
|
implementation libs.media3exoplayerdash
|
|
implementation libs.media3ui
|
|
implementation libs.media3exoplayerhls
|
|
implementation libs.eventbut
|
|
implementation libs.baseRecyclerAdapter
|
|
|
|
|
|
} |