47 lines
1.8 KiB
Plaintext
47 lines
1.8 KiB
Plaintext
import org.jetbrains.kotlin.konan.properties.Properties
|
|
|
|
// use an integer for version numbers
|
|
version = 228
|
|
|
|
android {
|
|
defaultConfig {
|
|
val properties = Properties()
|
|
properties.load(project.rootProject.file("local.properties").inputStream())
|
|
|
|
buildConfigField("String", "TMDB_API", "\"${properties.getProperty("TMDB_API")}\"")
|
|
buildConfigField("String", "GHOSTX_API", "\"${properties.getProperty("GHOSTX_API")}\"")
|
|
buildConfigField("String", "CINEMATV_API", "\"${properties.getProperty("CINEMATV_API")}\"")
|
|
buildConfigField("String", "SFMOVIES_API", "\"${properties.getProperty("SFMOVIES_API")}\"")
|
|
buildConfigField("String", "ZSHOW_API", "\"${properties.getProperty("ZSHOW_API")}\"")
|
|
buildConfigField("String", "DUMP_API", "\"${properties.getProperty("DUMP_API")}\"")
|
|
buildConfigField("String", "DUMP_KEY", "\"${properties.getProperty("DUMP_KEY")}\"")
|
|
buildConfigField("String", "CRUNCHYROLL_BASIC_TOKEN", "\"${properties.getProperty("CRUNCHYROLL_BASIC_TOKEN")}\"")
|
|
buildConfigField("String", "CRUNCHYROLL_REFRESH_TOKEN", "\"${properties.getProperty("CRUNCHYROLL_REFRESH_TOKEN")}\"")
|
|
}
|
|
}
|
|
|
|
cloudstream {
|
|
language = "en"
|
|
// All of these properties are optional, you can safely remove them
|
|
|
|
description = "#1 best extention based on MultiAPI"
|
|
authors = listOf("Hexated", "Sora")
|
|
|
|
/**
|
|
* Status int as the following:
|
|
* 0: Down
|
|
* 1: Ok
|
|
* 2: Slow
|
|
* 3: Beta only
|
|
* */
|
|
status = 1 // will be 3 if unspecified
|
|
tvTypes = listOf(
|
|
"AsianDrama",
|
|
"TvSeries",
|
|
"Anime",
|
|
"Movie",
|
|
)
|
|
|
|
iconUrl = "https://cdn.discordapp.com/attachments/1109266606292488297/1193122096159674448/2-modified.png?ex=65ec2a0a&is=65d9b50a&hm=f1e0b0165e71101e5440b47592d9e15727a6c00cdeb3512108067bfbdbef1af7&"
|
|
}
|