Change the taskorder of a plugin

(Marco Endres) #1

Hey guys
I try to change the order of a plugin or make the processRessources dependent on the npmRunBuild. I don’t have control over the task the only thing i execute is:
apply plugin: “com.liferay.plugin”

When I make it dependsOn it get a circular reference:

processResources.dependsOn ‘npmRunBuild’

Circular dependency between the following tasks:
— :processResources
— :npmRunBuild (*)

Thats all the tasks that get executed:

:compileJava UP-TO-DATE
Using native Sass compiler
:processResources UP-TO-DATE
:downloadNode SKIPPED
:replaceSoyTranslation UP-TO-DATE
:wrapSoyAlloyTemplate SKIPPED
:assemble UP-TO-DATE

Open for all ideas.


Marco Endres