Use jetty plugin without java?

I’m currently using jettyRun as a helper task in a pure javascript project. It seems that the jetty plugin also applies the java plugin.

Is this needed or can this be disabled ?

They ‘jetty’ plugin builds on the ‘war’ plugin, which builds on the ‘java’ plugin. There’s currently no way around that.

Checkout the Gradle Cargo plugin: https://github.com/bmuschko/gradle-cargo-plugin