2023-04-21 17:05:06 +00:00
|
|
|
import org.jetbrains.kotlin.konan.properties.Properties
|
|
|
|
|
2022-10-15 15:26:51 +00:00
|
|
|
// use an integer for version numbers
|
2023-04-30 20:55:42 +00:00
|
|
|
version = 126
|
2023-04-21 17:05:06 +00:00
|
|
|
|
|
|
|
android {
|
|
|
|
defaultConfig {
|
2023-04-22 08:55:01 +00:00
|
|
|
val properties = Properties()
|
|
|
|
properties.load(project.rootProject.file("local.properties").inputStream())
|
|
|
|
|
|
|
|
buildConfigField("String", "SORA_API", "\"${properties.getProperty("SORA_API")}\"")
|
2023-05-05 09:31:57 +00:00
|
|
|
buildConfigField("String", "SORAHE", "\"${properties.getProperty("SORAHE")}\"")
|
|
|
|
buildConfigField("String", "SORAXA", "\"${properties.getProperty("SORAXA")}\"")
|
|
|
|
buildConfigField("String", "SORATED", "\"${properties.getProperty("SORATED")}\"")
|
2023-04-21 17:05:06 +00:00
|
|
|
|
2022-10-15 15:26:51 +00:00
|
|
|
|
2023-04-21 17:05:06 +00:00
|
|
|
}
|
|
|
|
}
|
2022-10-15 15:26:51 +00:00
|
|
|
|
|
|
|
cloudstream {
|
|
|
|
language = "en"
|
|
|
|
// All of these properties are optional, you can safely remove them
|
|
|
|
|
2022-11-21 10:27:07 +00:00
|
|
|
description = "#1 best extention based on MultiAPI"
|
2022-10-15 15:26:51 +00:00
|
|
|
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",
|
|
|
|
)
|
|
|
|
|
2022-10-15 15:28:01 +00:00
|
|
|
iconUrl = "https://raw.githubusercontent.com/hexated/cloudstream-extensions-hexated/master/SoraStream/Icon.png"
|
2022-10-15 15:26:51 +00:00
|
|
|
}
|