springdoc-openapi-gradle-plugin icon indicating copy to clipboard operation
springdoc-openapi-gradle-plugin copied to clipboard

Proposed customBootRun configuration to pass Spring Active Profiles does not work for me

Open mpolonio opened this issue 2 years ago • 0 comments

This configuration does not work for me: customBootRun { args.set(["--spring.profiles.active=special"]) } But after analysing plugin code I came up with this solution that actually works: customBootRun { environment['SPRING_PROFILES_ACTIVE'] = 'local' }

mpolonio avatar Nov 09 '23 08:11 mpolonio