Class GradleLaunchConfig.Keys

java.lang.Object
net.neoforged.elc.configs.GradleLaunchConfig.Keys
Enclosing class:
GradleLaunchConfig

public static class GradleLaunchConfig.Keys extends Object
Holds keys relevant to serialization of GradleLaunchConfig.
  • Field Details

    • TASKS

      public static final String TASKS
      Defines the ordered list of gradle tasks that will be run by the launch configuration. Task names must be fully-qualified names.

      E-Attribute type: List
      Required: True

      See Also:
    • WORKING_DIR

      public static final String WORKING_DIR
      Defines the working directory of the launch configuration. May be an absolute or relative file path, and may use eclipse variables in its definition.

      When specified as an absolute path, the path represents a path in the local file system. When specified as a full path, the path represents a workspace relative path. When unspecified, the directory of the Eclipse project specified by JavaApplicationLaunchConfig.Keys.ATTR_PROJECT_NAME is used.

      E-Attribute type: String
      Required: False
      Default Value: ""

      See Also:
    • GRADLE_DIST

      public static final String GRADLE_DIST
      Defines the gradle distribution to use. The local gradle wrapper may be specified via "GRADLE_DISTRIBUTION(WRAPPER)".

      E-Attribute type: String
      Required: False
      Default Value: "GRADLE_DISTRIBUTION(WRAPPER)"

      See Also:
    • OFFLINE_MODE

      public static final String OFFLINE_MODE
      Defines if offline mode is enabled or not. Equivalent to passing --offline to gradle during task execution.

      E-Attribute type: Boolean
      Required: False
      Default Value: False

      See Also:
    • SHOW_CONSOLE

      public static final String SHOW_CONSOLE
      Defines if the Eclipse console will be shown when execution begins.

      E-Attribute type: Boolean
      Required: False
      Default Value: True

      See Also:
    • SHOW_EXECUTIONS

      public static final String SHOW_EXECUTIONS
      Defines if the Eclipse "Gradle Executions" pane will be shown when execution begins.

      E-Attribute type: Boolean
      Required: False
      Default Value: True

      See Also:
    • GRADLE_USER_HOME

      public static final String GRADLE_USER_HOME
      Defines an override for the Gradle user home.

      Can use Eclipse Variables in the same manner as WORKING_DIR.

      E-Attribute type: String
      Required: False
      Default Value: null

      See Also:
    • JAVA_HOME

      public static final String JAVA_HOME
      Defines an override for the java home used by Gradle.

      Can use Eclipse Variables in the same manner as WORKING_DIR.

      E-Attribute type: String
      Required: False
      Default Value: null

      See Also:
    • ARGUMENTS

      public static final String ARGUMENTS
      Defines a list of strings specifying all arguments that will be passed to the program (Gradle). One argument per entry.

      E-Attribute type: List
      Required: False
      Default Value: Empty List

      See Also:
    • JVM_ARGS

      public static final String JVM_ARGS
      Defines a list of strings specifying all arguments that will be passed to the JVM. One argument per entry.

      E-Attribute type: List
      Required: False
      Default Value: Empty List

      See Also:
    • OVERRIDE_WORKSPACE

      public static final String OVERRIDE_WORKSPACE
      Defines if the "Override Workspace Settings" feature is enabled.

      This feature must be enabled for the following values to be read from the config:

      E-Attribute type: Boolean
      Required: False
      Default Value: False

      See Also:
  • Constructor Details

    • Keys

      public Keys()