cpe
tasks.register("bootRunDev") { System.setProperty("spring.profiles.active", "dev") finalizedBy(tasks.bootRun) }
BootRun
task<BootRun>("bootRunDev") { systemProperties["spring.profiles.active"] = "dev" dependsOn("bootRun") }
Lex Luthor
tasks.create("bootRunDev") { val bootRun: BootRun by project.tasks bootRun.args = listOf("--spring.profiles.active=dev") dependsOn(bootRun) }
A modern programming language that makes developers happier.