fix wrong order?

This commit is contained in:
Cloudburst 2022-08-19 14:06:24 +02:00 committed by GitHub
parent b8745441c7
commit 269e597e4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,10 +23,7 @@ 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") it.mustRunAfter("make")
if (makeTask != null) {
it.dependsOn(makeTask)
}
it.outputs.upToDateWhen { false } it.outputs.upToDateWhen { false }
@ -135,4 +132,4 @@ fun registerTasks(project: Project) {
it.group = TASK_GROUP it.group = TASK_GROUP
it.dependsOn("make") it.dependsOn("make")
} }
} }