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