JavaTaskName

public enum JavaTaskName implements TaskName

Names of Gradle tasks defined by the java plugin.

See also

<a href="https://docs.gradle.org/current/userguide/java_plugin.html#sec:java_tasks">

the plugin doc

Entries

Link copied to clipboard

Compiles production Java source files using the JDK compiler.

Link copied to clipboard

Compiles test Java source files using the JDK compiler.

Link copied to clipboard

A lifecycle task which marks processing of all the classes and resources in this project.

Link copied to clipboard

A lifecycle task which marks processing of all the test classes and resources in this project.

Link copied to clipboard

Copies production resources into the production resources directory.

Link copied to clipboard

Copies test resources into the test resources directory.

Functions

Link copied to clipboard
public static JavaTaskName valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<JavaTaskName> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Inherited functions

Link copied to clipboard
public abstract String name()
The value of the name.
Link copied to clipboard
public String path()
Obtains this task name as a path.