From 77686b33fd6ffaa8f65485b462c9c5e164c6357c Mon Sep 17 00:00:00 2001 From: C10udburst <18114966+C10udburst@users.noreply.github.com> Date: Fri, 19 Aug 2022 10:31:42 +0200 Subject: [PATCH] fix filesize? --- .../kotlin/com/lagradost/cloudstream3/gradle/tasks/Tasks.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/Tasks.kt b/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/Tasks.kt index 3354f24..8cb70b7 100644 --- a/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/Tasks.kt +++ b/src/main/kotlin/com/lagradost/cloudstream3/gradle/tasks/Tasks.kt @@ -23,6 +23,11 @@ fun registerTasks(project: Project) { project.rootProject.tasks.register("makePluginsJson", MakePluginsJsonTask::class.java) { it.group = TASK_GROUP + val makeTask = project.tasks.findByName("make") + if (makeTask != null) { + it.dependsOn(makeTask) + } + it.outputs.upToDateWhen { false } it.outputFile.set(it.project.buildDir.resolve("plugins.json"))