grails-gradle-plugin-archived
grails-gradle-plugin-archived copied to clipboard
grails-war command produces war filename as null
Plugin version 2.1.0 has an issue in war filename resolution
| Done creating WAR null Plugin version 2.0.1 creates a war file successfully for grails-war command
| Done creating WAR build/distributions/gradle-test-1.0-SNAPSHOT.war
I don't know the reason why #103 was closed
I was open that issue initially. Then realized plugin 2.1.0 version comes with predefined war
gradle task. so if you execute just gradle war
command, it works fine. Also version 2.1.0 implicitly puts prod as on environment for war command.
For reference 2.1.0 change log
Correct gradle war
is the proper command to us. If you want to specify other arguments/env/etc you would use the gradle grails-war
task and you would need to provide the output file for the war:
$ gradle grails-war -PgrailsArgs=root.war