mirror of
https://github.com/hexated/cloudstream-extensions-hexated.git
synced 2024-08-15 00:03:22 +00:00
42 lines
No EOL
1.3 KiB
Text
42 lines
No EOL
1.3 KiB
Text
import org.jetbrains.kotlin.konan.properties.Properties
|
|
|
|
// use an integer for version numbers
|
|
version = 3
|
|
|
|
android {
|
|
defaultConfig {
|
|
val properties = Properties()
|
|
properties.load(project.rootProject.file("local.properties").inputStream())
|
|
|
|
buildConfigField("String", "SUPERSTREAM_FIRST_API", "\"${properties.getProperty("SUPERSTREAM_FIRST_API")}\"")
|
|
buildConfigField("String", "SUPERSTREAM_SECOND_API", "\"${properties.getProperty("SUPERSTREAM_SECOND_API")}\"")
|
|
buildConfigField("String", "SUPERSTREAM_THIRD_API", "\"${properties.getProperty("SUPERSTREAM_THIRD_API")}\"")
|
|
buildConfigField("String", "SUPERSTREAM_FOURTH_API", "\"${properties.getProperty("SUPERSTREAM_FOURTH_API")}\"")
|
|
}
|
|
}
|
|
|
|
cloudstream {
|
|
language = "en"
|
|
// All of these properties are optional, you can safely remove them
|
|
|
|
// description = "Lorem Ipsum"
|
|
authors = listOf("Blatzar")
|
|
|
|
/**
|
|
* Status int as the following:
|
|
* 0: Down
|
|
* 1: Ok
|
|
* 2: Slow
|
|
* 3: Beta only
|
|
* */
|
|
status = 1 // will be 3 if unspecified
|
|
tvTypes = listOf(
|
|
"AsianDrama",
|
|
"Anime",
|
|
"TvSeries",
|
|
"Movie",
|
|
)
|
|
|
|
|
|
iconUrl = "https://cdn.discordapp.com/attachments/1109266606292488297/1196694385061003334/icon.png"
|
|
} |