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

50 lines
2 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-11-30 10:38:33 +00:00
version = 198
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-27 12:46:01 +00:00
buildConfigField("String", "TMDB_API", "\"${properties.getProperty("TMDB_API")}\"")
2023-10-14 10:15:09 +00:00
buildConfigField("String", "SFMOVIES_API", "\"${properties.getProperty("SFMOVIES_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
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"
}