Manage Spring Boot Profiles with Gradle
问题 I have a Spring boot application which is managed by Gradle. What is done so far: Created application.yaml , application-dev.yaml , and application-qa.yaml files Mentioned spring: profiles: active: dev in application.yaml (default profile should be dev if none is mentioned) What need to be done: Need to build war with profile mentioned or passed while building. Example, for QA build, spring: profiles: active: should have value qa , so that it can pick-up application-qa.yaml properties. If no