Compare commits

..

No commits in common. "7b7ba11001e182a921eb39cb3b7220ccbee11f32" and "2aeef2170708bb3928ceeca6c1524bf5ec94d6d3" have entirely different histories.

3 changed files with 4 additions and 4 deletions

View file

@ -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
}

View file

@ -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,
tvTypes = extension.tvTypes
apiVersion = extension.apiVersion
)
}

View file

@ -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
)