springdoc-openapi-gradle-plugin
springdoc-openapi-gradle-plugin copied to clipboard
Proposed customBootRun configuration to pass Spring Active Profiles does not work for me
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' }