plugins {
    id 'com.android.library'
    id 'com.chaquo.python'
}

android {
    compileSdk 33

    defaultConfig {
        minSdk 21
        targetSdk 29
        ndk { abiFilters "armeabi-v7a" }
        python {
            buildPython "C:/Users/FongMi.DIREK/Anaconda3/envs/py38/python.exe"
            pip {
                install "lxml"
                install 'pycryptodome'
                install 'beautifulsoup4'
                install "requests==2.27.1"
            }
        }
    }

    sourceSets {
        main {
            python.srcDirs = ["src/main/python"]
        }
    }
}

dependencies {
    implementation project(':catvod')
    implementation 'androidx.annotation:annotation:1.5.0'
    implementation 'com.google.code.gson:gson:2.10'
}