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-10-09 08:44:32 +00:00
|
|
|
version = 181
|
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())
|
|
|
|
|
2023-10-09 08:44:32 +00:00
|
|
|
buildConfigField("String", "VATIC_API", "\"${properties.getProperty("VATIC_API")}\"")
|
2023-09-18 07:36:12 +00:00
|
|
|
buildConfigField("String", "ZSHOW_API", "\"${properties.getProperty("ZSHOW_API")}\"")
|
2023-04-22 08:55:01 +00:00
|
|
|
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-06-26 05:11:27 +00:00
|
|
|
buildConfigField("String", "DUMP_API", "\"${properties.getProperty("DUMP_API")}\"")
|
|
|
|
buildConfigField("String", "DUMP_KEY", "\"${properties.getProperty("DUMP_KEY")}\"")
|
2023-08-18 20:48:57 +00:00
|
|
|
buildConfigField("String", "PRIMEWIRE_KEY", "\"${properties.getProperty("PRIMEWIRE_KEY")}\"")
|
2023-05-21 13:20:19 +00:00
|
|
|
buildConfigField("String", "CRUNCHYROLL_BASIC_TOKEN", "\"${properties.getProperty("CRUNCHYROLL_BASIC_TOKEN")}\"")
|
|
|
|
buildConfigField("String", "CRUNCHYROLL_REFRESH_TOKEN", "\"${properties.getProperty("CRUNCHYROLL_REFRESH_TOKEN")}\"")
|
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"
|
2023-09-23 03:31:55 +00:00
|
|
|
}
|