From 2b98fcdfde8ec608f42d8d97bee4b5a5f6694e9a Mon Sep 17 00:00:00 2001 From: C10udburst <18114966+C10udburst@users.noreply.github.com> Date: Mon, 8 Aug 2022 09:53:41 +0200 Subject: [PATCH] i am a monkey --- .../kotlin/com/lagradost/cloudstream3/gradle/Utils.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/com/lagradost/cloudstream3/gradle/Utils.kt b/src/main/kotlin/com/lagradost/cloudstream3/gradle/Utils.kt index c933868..b772683 100644 --- a/src/main/kotlin/com/lagradost/cloudstream3/gradle/Utils.kt +++ b/src/main/kotlin/com/lagradost/cloudstream3/gradle/Utils.kt @@ -12,10 +12,12 @@ fun Project.makeManifest(skipClass: Boolean): PluginManifest { "No version is set" } - require(!skipClass && extension.pluginClassName != null) { - "No plugin class found, make sure your plugin class is annotated with @CloudstreamPlugin" + if (!skipClass) { + require(extension.pluginClassName != null) { + "No plugin class found, make sure your plugin class is annotated with @CloudstreamPlugin" + } } - + return PluginManifest( pluginClassName = extension.pluginClassName, name = this.name,