How can I change the default name for the war file?
Thanks for your replay.
I already changed that parameter but the war file is still appending the version
e.g. I changed rootProject.name default value to “my-project” and when I will get the war file with the name my-project5.2.4,war
I would like to remove that version form the name.
Thanks.
Overwrite the Gradle war plugin in build.gradle like this :
war {
archiveName 'my-project.war'
}
See https://docs.gradle.org/current/dsl/org.gradle.api.tasks.bundling.War.html for more details
2 « J'aime »
Thank you!!!
That worked n___n
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.