Created
December 30, 2019 12:13
-
-
Save jakzal/1ff82e1c4c2a83805c370c17cc7308bc to your computer and use it in GitHub Desktop.
Run a Spring Boot application with the dev profile (Gradle Kotlin DSL)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks.register("bootRunDev") { | |
group = "application" | |
description = "Runs this project as a Spring Boot application with the dev profile" | |
doFirst { | |
tasks.bootRun.configure { | |
systemProperty("spring.profiles.active", "dev") | |
} | |
} | |
finalizedBy("bootRun") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment