I'm using Gradle to start a Spring Boot applicatio...
# gradle
x
I'm using Gradle to start a Spring Boot application; I need to pass some parameters, like
-Dspring.profiles.active=dev
, but so far I'm unable to. In Gradle (with Groovy) this is how I had this:
Copy code
bootRun { // Runs a project in-place without building a JAR first
  addResources true
  main 'package.name.ApplicationKt'
  systemProperties System.properties
  if (project.hasProperty('args')) {
    args project.args.split('\\s+')
  }
}