cloudstream-extensions-hexated/SoraStream/build.gradle.kts

48 lines
1.7 KiB
Text
Raw Normal View History

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-08-21 00:55:21 +00:00
version = 159
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-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
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
}