fix filesize?

This commit is contained in:
C10udburst 2022-08-19 10:31:42 +02:00
parent ba11261aac
commit 77686b33fd

View file

@ -23,6 +23,11 @@ fun registerTasks(project: Project) {
project.rootProject.tasks.register("makePluginsJson", MakePluginsJsonTask::class.java) { project.rootProject.tasks.register("makePluginsJson", MakePluginsJsonTask::class.java) {
it.group = TASK_GROUP it.group = TASK_GROUP
val makeTask = project.tasks.findByName("make")
if (makeTask != null) {
it.dependsOn(makeTask)
}
it.outputs.upToDateWhen { false } it.outputs.upToDateWhen { false }
it.outputFile.set(it.project.buildDir.resolve("plugins.json")) it.outputFile.set(it.project.buildDir.resolve("plugins.json"))