mirror of https://github.com/FongMi/TV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
2.5 KiB
77 lines
2.5 KiB
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
compileSdk 32
|
|
flavorDimensions "default"
|
|
|
|
defaultConfig {
|
|
applicationId "com.fongmi.android.tv"
|
|
minSdk 21
|
|
targetSdk 32
|
|
versionCode 20
|
|
versionName "1.2.0"
|
|
}
|
|
|
|
productFlavors {
|
|
leanback {
|
|
dimension "default"
|
|
}
|
|
mobile {
|
|
dimension "default"
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
viewBinding true
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
zipAlignEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
|
|
android.applicationVariants.all { variant ->
|
|
variant.outputs.all { output ->
|
|
outputFileName = "${variant.productFlavors[0].name}.apk"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':catvod')
|
|
implementation project(':exoplayer-library')
|
|
implementation project(':exoplayer-extension-rtmp')
|
|
implementation 'androidx.appcompat:appcompat:1.4.2'
|
|
implementation 'androidx.core:core-splashscreen:1.0.0'
|
|
implementation 'androidx.preference:preference:1.2.0'
|
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
implementation 'androidx.room:room-runtime:2.4.3'
|
|
implementation 'cat.ereza:customactivityoncrash:2.4.0'
|
|
implementation 'com.amulyakhare:com.amulyakhare.textdrawable:1.0.1'
|
|
implementation 'com.github.bassaer:materialdesigncolors:1.0.0'
|
|
implementation 'com.github.bumptech.glide:glide:4.13.2'
|
|
implementation 'com.google.android.material:material:1.6.1'
|
|
implementation 'com.google.code.gson:gson:2.9.1'
|
|
implementation 'com.google.zxing:core:3.5.0'
|
|
implementation 'com.makeramen:roundedimageview:2.3.0'
|
|
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
|
|
implementation 'org.greenrobot:eventbus:3.3.1'
|
|
implementation 'org.nanohttpd:nanohttpd:2.3.1'
|
|
implementation('org.simpleframework:simple-xml:2.7.1') { exclude group: 'stax', module: 'stax-api' exclude group: 'xpp3', module: 'xpp3' }
|
|
leanbackImplementation 'androidx.leanback:leanback:1.2.0-alpha02'
|
|
mobileImplementation 'androidx.navigation:navigation-fragment:2.5.1'
|
|
mobileImplementation 'androidx.navigation:navigation-ui:2.5.1'
|
|
annotationProcessor 'androidx.room:room-compiler:2.4.3'
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.13.2'
|
|
} |