rename pluginVersion -> version

This commit is contained in:
Cloudburst 2022-08-08 21:59:17 +02:00 committed by GitHub
parent f874f86cb6
commit 8c18572597
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ fun Project.makeManifest(): PluginManifest {
return PluginManifest( return PluginManifest(
pluginClassName = extension.pluginClassName, pluginClassName = extension.pluginClassName,
name = this.name, name = this.name,
pluginVersion = version ?: -1, version = version ?: -1,
apiVersion = extension.apiVersion apiVersion = extension.apiVersion
) )
} }

View file

@ -3,6 +3,6 @@ package com.lagradost.cloudstream3.gradle.entities
data class PluginManifest( data class PluginManifest(
val pluginClassName: String?, val pluginClassName: String?,
val name: String, val name: String,
val pluginVersion: Int, val version: Int,
val apiVersion: Int val apiVersion: Int
) )