mirror of
https://github.com/recloudstream/gradle.git
synced 2024-08-14 23:56:59 +00:00
add tv types
This commit is contained in:
parent
2aeef21707
commit
3f52802264
3 changed files with 4 additions and 1 deletions
|
@ -44,6 +44,7 @@ abstract class CloudstreamExtension @Inject constructor(project: Project) {
|
|||
var adult = false
|
||||
var status = 3
|
||||
var language: String? = null
|
||||
var tvTypes: List<String>? = null
|
||||
var iconUrl: String? = null
|
||||
}
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@ fun Project.makePluginEntry(): PluginEntry {
|
|||
adult = extension.adult,
|
||||
language = extension.language,
|
||||
iconUrl = extension.iconUrl,
|
||||
apiVersion = extension.apiVersion
|
||||
apiVersion = extension.apiVersion,
|
||||
tvTypes = extension.tvTypes
|
||||
)
|
||||
}
|
|
@ -11,6 +11,7 @@ data class PluginEntry(
|
|||
val repositoryUrl: String?,
|
||||
val adult: Boolean,
|
||||
val language: String?,
|
||||
val tvTypes: List<String>?,
|
||||
val iconUrl: String?,
|
||||
val apiVersion: Int
|
||||
)
|
Loading…
Reference in a new issue