From 8c18572597033a5365665297133d0818bbbf55ef Mon Sep 17 00:00:00 2001 From: Cloudburst <18114966+C10udburst@users.noreply.github.com> Date: Mon, 8 Aug 2022 21:59:17 +0200 Subject: [PATCH] rename pluginVersion -> version --- src/main/kotlin/com/lagradost/cloudstream3/gradle/Utils.kt | 2 +- .../lagradost/cloudstream3/gradle/entities/PluginManifest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/lagradost/cloudstream3/gradle/Utils.kt b/src/main/kotlin/com/lagradost/cloudstream3/gradle/Utils.kt index 51e5bd9..d2569de 100644 --- a/src/main/kotlin/com/lagradost/cloudstream3/gradle/Utils.kt +++ b/src/main/kotlin/com/lagradost/cloudstream3/gradle/Utils.kt @@ -20,7 +20,7 @@ fun Project.makeManifest(): PluginManifest { return PluginManifest( pluginClassName = extension.pluginClassName, name = this.name, - pluginVersion = version ?: -1, + version = version ?: -1, apiVersion = extension.apiVersion ) } diff --git a/src/main/kotlin/com/lagradost/cloudstream3/gradle/entities/PluginManifest.kt b/src/main/kotlin/com/lagradost/cloudstream3/gradle/entities/PluginManifest.kt index 20f7aa9..0e034dd 100644 --- a/src/main/kotlin/com/lagradost/cloudstream3/gradle/entities/PluginManifest.kt +++ b/src/main/kotlin/com/lagradost/cloudstream3/gradle/entities/PluginManifest.kt @@ -3,6 +3,6 @@ package com.lagradost.cloudstream3.gradle.entities data class PluginManifest( val pluginClassName: String?, val name: String, - val pluginVersion: Int, + val version: Int, val apiVersion: Int ) \ No newline at end of file