Tad
Tad

Reputation: 838

Gradle jar generation

When war plug-in is enabled in build.gradle, jar generation is automatically disabled. Is it possible to fix it or does it require splitting the project into two projects?

Upvotes: 0

Views: 721

Answers (1)

WillBD
WillBD

Reputation: 1919

you can simply do:

assemble.dependsOn (jar)

anywhere in the file. The WAR plugin simply doesn't include the task by default

Upvotes: 3

Related Questions