mirror of
https://github.com/recloudstream/gradle.git
synced 2024-08-14 23:56:59 +00:00
fix wrong order?
This commit is contained in:
parent
b8745441c7
commit
269e597e4e
1 changed files with 2 additions and 5 deletions
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue