Created
August 3, 2021 10:37
-
-
Save musketyr/e97853679168d56173796873fb0636fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Map conventions = [ | |
disable : false, | |
whiteListScripts : true, | |
disableDynamicCompile : false, | |
dynamicCompileWhiteList : [ | |
'UrlMappings', | |
'Application', | |
'BootStrap', | |
'resources', | |
'org.grails.cli' | |
], | |
limitCompileStaticExtensions: false, | |
defAllowed : false, // For controllers you can use Object in place of def, and in Domains add Closure to constraints/mappings closure fields. | |
skipDefaultPackage : true, // For GSP files | |
] | |
System.setProperty( | |
'enterprise.groovy.conventions', | |
"conventions=${conventions.inspect()}" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment