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,