Class BaseForkOptions

java.lang.Object
org.gradle.api.tasks.compile.BaseForkOptions
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ProviderAwareCompilerDaemonForkOptions

public abstract class BaseForkOptions extends Object implements Serializable
Fork options for compilation. Only take effect if fork is true.
See Also:
  • Constructor Details

    • BaseForkOptions

      public BaseForkOptions()
  • Method Details

    • getMemoryInitialSize

      @Internal public abstract Property<String> getMemoryInitialSize()
      Returns the initial heap size for the compiler process. Defaults to null, in which case the JVM's default will be used.
    • getMemoryMaximumSize

      @Internal public abstract Property<String> getMemoryMaximumSize()
      Returns the maximum heap size for the compiler process. Defaults to null, in which case the JVM's default will be used.
    • getJvmArgs

      @Optional @Input public abstract ListProperty<String> getJvmArgs()
      Returns any additional JVM arguments for the compiler process. Defaults to the empty list.