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.
48 lines
1.0 KiB
48 lines
1.0 KiB
plugins {
|
|
id 'com.android.library'
|
|
id 'com.chaquo.python'
|
|
}
|
|
|
|
android {
|
|
compileSdk 33
|
|
flavorDimensions "abi"
|
|
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 28
|
|
python {
|
|
buildPython "C:/Users/FongMi.DIREK/Anaconda3/envs/py38/python.exe"
|
|
pip {
|
|
install "lxml"
|
|
install 'pycryptodome'
|
|
install 'beautifulsoup4'
|
|
install "requests==2.27.1"
|
|
}
|
|
}
|
|
}
|
|
|
|
productFlavors {
|
|
armeabi_v7a {
|
|
dimension "abi"
|
|
//noinspection ChromeOsAbiSupport
|
|
ndk { abiFilters "armeabi-v7a" }
|
|
}
|
|
arm64_v8a {
|
|
dimension "abi"
|
|
//noinspection ChromeOsAbiSupport
|
|
ndk { abiFilters "arm64-v8a" }
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
python.srcDirs = ["src/main/python"]
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':catvod')
|
|
implementation 'androidx.annotation:annotation:1.5.0'
|
|
api 'com.google.code.gson:gson:' + gsonVersion
|
|
} |