mirror of
https://github.com/recloudstream/gradle.git
synced 2024-08-14 23:56:59 +00:00
Compare commits
No commits in common. "7b7ba11001e182a921eb39cb3b7220ccbee11f32" and "2aeef2170708bb3928ceeca6c1524bf5ec94d6d3" have entirely different histories.
7b7ba11001
...
2aeef21707
3 changed files with 4 additions and 4 deletions
|
@ -41,9 +41,9 @@ abstract class CloudstreamExtension @Inject constructor(project: Project) {
|
||||||
var requiresResources = false
|
var requiresResources = false
|
||||||
var description: String? = null
|
var description: String? = null
|
||||||
var authors = listOf<String>()
|
var authors = listOf<String>()
|
||||||
|
var adult = false
|
||||||
var status = 3
|
var status = 3
|
||||||
var language: String? = null
|
var language: String? = null
|
||||||
var tvTypes: List<String>? = null
|
|
||||||
var iconUrl: String? = null
|
var iconUrl: String? = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,9 +44,9 @@ fun Project.makePluginEntry(): PluginEntry {
|
||||||
authors = extension.authors,
|
authors = extension.authors,
|
||||||
description = extension.description,
|
description = extension.description,
|
||||||
repositoryUrl = (if (repo == null) null else repo.url),
|
repositoryUrl = (if (repo == null) null else repo.url),
|
||||||
|
adult = extension.adult,
|
||||||
language = extension.language,
|
language = extension.language,
|
||||||
iconUrl = extension.iconUrl,
|
iconUrl = extension.iconUrl,
|
||||||
apiVersion = extension.apiVersion,
|
apiVersion = extension.apiVersion
|
||||||
tvTypes = extension.tvTypes
|
|
||||||
)
|
)
|
||||||
}
|
}
|
|
@ -9,8 +9,8 @@ data class PluginEntry(
|
||||||
val authors: List<String>,
|
val authors: List<String>,
|
||||||
val description: String?,
|
val description: String?,
|
||||||
val repositoryUrl: String?,
|
val repositoryUrl: String?,
|
||||||
|
val adult: Boolean,
|
||||||
val language: String?,
|
val language: String?,
|
||||||
val tvTypes: List<String>?,
|
|
||||||
val iconUrl: String?,
|
val iconUrl: String?,
|
||||||
val apiVersion: Int
|
val apiVersion: Int
|
||||||
)
|
)
|
Loading…
Reference in a new issue