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.
51 lines
919 B
51 lines
919 B
plugins {
|
|
id 'com.android.library'
|
|
id 'com.chaquo.python'
|
|
}
|
|
|
|
android {
|
|
namespace 'com.fongmi.chaquo'
|
|
|
|
compileSdk {
|
|
version = release(36)
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdk 24
|
|
targetSdk 28
|
|
python {
|
|
version "3.8"
|
|
pip {
|
|
install("-r", "requirements.txt")
|
|
}
|
|
}
|
|
}
|
|
|
|
flavorDimensions = ["abi"]
|
|
|
|
productFlavors {
|
|
arm64_v8a {
|
|
dimension "abi"
|
|
ndk { abiFilters "arm64-v8a" }
|
|
}
|
|
armeabi_v7a {
|
|
dimension "abi"
|
|
ndk { abiFilters "armeabi-v7a" }
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
python.srcDirs = ["src/main/python"]
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':catvod')
|
|
} |