spring boot gradle how to create war with single application.properties
I am using IntelliJ and I know how to use Profiles in Spring Boot to specify which application.properties file to use.
But when I create WAR file with Gradle all of these application.properties file are included into WAR. Is it possible to somehow create WAR File that will have only needed application.properties files.