@CompileStatic class BuildSettings extends Object
Build time settings and configuration
Modifiers | Name | Description |
---|---|---|
static String |
APP_BASE_DIR |
The base directory of the application |
static String |
APP_DIR |
The app directory of the application |
static String |
AUTHENTICATOR |
The authenticator to use when connecting remotely from the CLI |
static File |
BASE_DIR |
The base directory of the project |
static String |
BUILD_CLASSES_PATH |
The path to the build classes directory |
static String |
BUILD_RESOURCES_PATH |
The path to the build resources directory |
static String |
BUILD_SCOPE |
|
static String |
BUILD_SCOPE_DESC |
|
static File |
CLASSES_DIR |
The classes directory of the project, null outside of the development environment |
static String |
COMPILER_SOURCE_LEVEL |
The compiler source level to use |
static String |
COMPILER_TARGET_LEVEL |
The compiler source level to use |
static String |
COMPILE_SCOPE |
|
static String |
COMPILE_SCOPE_DESC |
|
static String |
CONVERT_CLOSURES_KEY |
A property name to enable/disable AST conversion of closures actions&tags to methods |
static String |
CORE_WORKING_DIR_NAME |
The name of the working directory for commands that don't belong to a project (like create-app) |
static String |
FUNCTIONAL_BASE_URL_PROPERTY |
A system property with this name is populated in the preparation phase of functional testing with the base URL that tests should be run against. |
static File |
GRAILS_APP_DIR |
The Grails app directory of the project |
static boolean |
GRAILS_APP_DIR_PRESENT |
Whether the application is running inside the development environment or deployed |
static String |
GRAILS_APP_PATH |
The Path of the Grails app directory |
static File |
GRAILS_HOME |
The location of the local Grails installation. |
static Pattern |
JAR_PATTERN |
|
static String |
MAIN_CLASS_NAME |
Name of the System property that specifies the main class name |
static String |
OFFLINE_MODE |
|
static String |
PROFILE |
The name of the profile being used |
static String |
PROFILE_REPOSITORIES |
Specifies the profile repositories to use |
static String |
PROJECT_AUTODEPLOY_DIR |
The name of the WAR file of the project |
static String |
PROJECT_CLASSES_DIR |
The name of the system property for the project classes directory. |
static String |
PROJECT_DOCS_OUTPUT_DIR |
The name of the system property for documentation output directory |
static String |
PROJECT_RESOURCES_DIR |
The name of the system property for #. |
static String |
PROJECT_SOURCE_DIR |
The name of the system property for project source directory. |
static String |
PROJECT_TARGET_DIR |
The name of the system property for the the project target directory. |
static String |
PROJECT_TEST_CLASSES_DIR |
The name of the system property for project test classes directory. |
static String |
PROJECT_TEST_REPORTS_DIR |
The name of the system property for test reported directory |
static String |
PROJECT_TEST_SOURCE_DIR |
The name of the property specification test locations. |
static String |
PROJECT_WAR_FILE |
The name of the WAR file of the project |
static String |
PROJECT_WORK_DIR |
The name of the system property for the project work directory |
static String |
PROVIDED_SCOPE |
|
static String |
PROVIDED_SCOPE_DESC |
|
static String |
PROXY_HTTP_PASSWORD |
The http proxy password |
static String |
PROXY_HTTP_USER |
The http proxy username |
static String |
PROXY_SELECTOR |
The proxy selector object to use when connecting remotely from the CLI |
static File |
RESOURCES_DIR |
The resources directory of the project, null outside of the development environment |
static String |
RUNTIME_SCOPE |
|
static String |
RUNTIME_SCOPE_DESC |
|
static String |
RUN_EXECUTED |
|
static Map<String, String> |
SCOPE_TO_DESC |
|
static String |
SERVLET_VERSION |
The version of the servlet API |
static File |
SETTINGS_FILE |
|
static File |
TARGET_DIR |
The target directory of the project, null outside of the development environment |
static String |
TEST_SCOPE |
|
static String |
TEST_SCOPE_DESC |
|
static String |
WORK_DIR |
The name of the system property for the Grails work directory. |
Constructor and description |
---|
BuildSettings() |
Type Params | Return Type | Name and description |
---|---|---|
|
static String |
getGrailsVersion()
|
|
static boolean |
isDevelopmentGrailsVersion()
|
The base directory of the application
The app directory of the application
The authenticator to use when connecting remotely from the CLI
The base directory of the project
The path to the build classes directory
The path to the build resources directory
The classes directory of the project, null outside of the development environment
The compiler source level to use
The compiler source level to use
A property name to enable/disable AST conversion of closures actions&tags to methods
The name of the working directory for commands that don't belong to a project (like create-app)
A system property with this name is populated in the preparation phase of functional testing with the base URL that tests should be run against.
The Grails app directory of the project
Whether the application is running inside the development environment or deployed
The Path of the Grails app directory
The location of the local Grails installation. Will be null if not known
Name of the System property that specifies the main class name
The name of the profile being used
Specifies the profile repositories to use
The name of the WAR file of the project
The name of the system property for the project classes directory. Must be set if changed from build/main/classes.
The name of the system property for documentation output directory
The name of the system property for #.
The name of the system property for project source directory. Must be set if changed from src/main/groovy
The name of the system property for the the project target directory. Must be set if Gradle build location is changed.
The name of the system property for project test classes directory. Must be set if changed from build/test/classes
The name of the system property for test reported directory
The name of the property specification test locations. Must be set of the directory is changed from src/test/groovy
The name of the WAR file of the project
The name of the system property for the project work directory
The http proxy password
The http proxy username
The proxy selector object to use when connecting remotely from the CLI
The resources directory of the project, null outside of the development environment
The version of the servlet API
The target directory of the project, null outside of the development environment
The name of the system property for the Grails work directory.