mirror of
https://github.com/recloudstream/gradle.git
synced 2024-08-14 23:56:59 +00:00
Compare commits
2 commits
2aeef21707
...
7b7ba11001
Author | SHA1 | Date | |
---|---|---|---|
|
7b7ba11001 | ||
|
3f52802264 |
3 changed files with 4 additions and 4 deletions
|
@ -41,9 +41,9 @@ abstract class CloudstreamExtension @Inject constructor(project: Project) {
|
|||
var requiresResources = false
|
||||
var description: String? = null
|
||||
var authors = listOf<String>()
|
||||
var adult = false
|
||||
var status = 3
|
||||
var language: String? = null
|
||||
var tvTypes: List<String>? = null
|
||||
var iconUrl: String? = null
|
||||
}
|
||||
|
||||
|
|
|
@ -44,9 +44,9 @@ fun Project.makePluginEntry(): PluginEntry {
|
|||
authors = extension.authors,
|
||||
description = extension.description,
|
||||
repositoryUrl = (if (repo == null) null else repo.url),
|
||||
adult = extension.adult,
|
||||
language = extension.language,
|
||||
iconUrl = extension.iconUrl,
|
||||
apiVersion = extension.apiVersion
|
||||
apiVersion = extension.apiVersion,
|
||||
tvTypes = extension.tvTypes
|
||||
)
|
||||
}
|
|
@ -9,8 +9,8 @@ data class PluginEntry(
|
|||
val authors: List<String>,
|
||||
val description: String?,
|
||||
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