There are some build steps that require resources to be present at compile time. Due to some Gradle magic, the processResources task is not always executed before compileJava, which leads to failures when f. ex. generating plugin manifests with our annotation processing.
Modification
Require the processResources task to run before compileJava by adding a dependency.
Result
processResources now runs before compileJava again, fixing all issues with plugin manifest generation during compile.
Motivation
There are some build steps that require resources to be present at compile time. Due to some Gradle magic, the
processResources
task is not always executed beforecompileJava
, which leads to failures when f. ex. generating plugin manifests with our annotation processing.Modification
Require the
processResources
task to run beforecompileJava
by adding a dependency.Result
processResources
now runs beforecompileJava
again, fixing all issues with plugin manifest generation during compile.