Skip to content

Development environment configuration file application-development.groovy not documented #1012

@snider32

Description

@snider32

Expected Behavior

I expected application.groovy to be adequate for a development environment build, with environment blocks withing that file to distinguish code intended specifically for a build.

Actual Behaviour

It turns out that application.groovy is ignored for a development environment build, and an application-development.groovy file is required instead. I was not able to find any documentation about this - certainly not in the Spring Security Core Plugin - Reference Documentation. I've spent an awful lot of time chasing what was going on.

Steps To Reproduce

Using a gradle.properties file with org.gradle.jvmargs=-Dfile.encoding=UTF-8 -Xmx1024M -Dgrails.env=dev

Environment Information

MacOS 12.7.4
grailsVersion=5.3.6
groovyVersion=3.0.11
org.grails.plugins:spring-security-core:5.3.0
jdk-17.jdk
IntelliJ IDEA 2023.2.6 (Ultimate Edition)

Example Application

No response

Version

5.3.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions