mirror of
https://github.com/recloudstream/gradle.git
synced 2024-08-14 23:56:59 +00:00
update to recloudstream/cloudstream@416d2b6
This commit is contained in:
parent
3b9c8706d9
commit
2aeef21707
3 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,8 @@ abstract class CloudstreamExtension @Inject constructor(project: Project) {
|
||||||
var authors = listOf<String>()
|
var authors = listOf<String>()
|
||||||
var adult = false
|
var adult = false
|
||||||
var status = 3
|
var status = 3
|
||||||
|
var language: String? = null
|
||||||
|
var iconUrl: String? = null
|
||||||
}
|
}
|
||||||
|
|
||||||
class ApkInfo(extension: CloudstreamExtension, release: String) {
|
class ApkInfo(extension: CloudstreamExtension, release: String) {
|
||||||
|
|
|
@ -45,6 +45,8 @@ fun Project.makePluginEntry(): PluginEntry {
|
||||||
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,
|
adult = extension.adult,
|
||||||
|
language = extension.language,
|
||||||
|
iconUrl = extension.iconUrl,
|
||||||
apiVersion = extension.apiVersion
|
apiVersion = extension.apiVersion
|
||||||
)
|
)
|
||||||
}
|
}
|
|
@ -10,5 +10,7 @@ data class PluginEntry(
|
||||||
val description: String?,
|
val description: String?,
|
||||||
val repositoryUrl: String?,
|
val repositoryUrl: String?,
|
||||||
val adult: Boolean,
|
val adult: Boolean,
|
||||||
|
val language: String?,
|
||||||
|
val iconUrl: String?,
|
||||||
val apiVersion: Int
|
val apiVersion: Int
|
||||||
)
|
)
|
Loading…
Reference in a new issue