Java Application
Configuration for a Java application, defining how to assemble the application.
An instance of this type is added as a project extension by the Java application plugin under the name 'application'.
plugins {
id 'application'
}
application {
mainClass.set("com.foo.bar.FooBar")
}
Content copied to clipboard
Since
4.10
Functions
Link copied to clipboard
Array of string arguments to pass to the JVM when running the application
Link copied to clipboard
The specification of the contents of the distribution.
Link copied to clipboard
The name of the application.
Link copied to clipboard
Directory to place executables in
Link copied to clipboard
The fully qualified name of the application's main class.
Link copied to clipboard
The name of the application's Java module if it should run as a module.
Link copied to clipboard
Array of string arguments to pass to the JVM when running the application
Link copied to clipboard
Link copied to clipboard
The name of the application.
Link copied to clipboard
Directory to place executables in