I have SpringBoot project that generates both a deployable and an executable WAR file using the SpringBoot Gradle plugin. I want to update a .properties
file inside of both WAR files. My files look like this:
build/libs/my-app-1.0.0.war
...
/WEB-INF/classes/file.properties
...
build/libs/my-app-1.0.0-boot.war
...
/WEB-INF/classes/file.properties
...
I want to update a single key inside the properties
file or completely replace the file. Either solution would work.
These are the versions:
- Gradle 6.2.2
- SpringBoot 2.2.5.RELEASE