public enum ForgeGradle extends java.lang.Enum<ForgeGradle>
| Modifier and Type | Method and Description |
|---|---|
static ForgeGradle |
getVersion(org.gradle.api.Project project) |
static ForgeGradle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ForgeGradle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForgeGradle VERSION_2
public static final ForgeGradle VERSION_5
public static final ForgeGradle UNKNOWN
public static ForgeGradle[] values()
for (ForgeGradle c : ForgeGradle.values()) System.out.println(c);
public static ForgeGradle valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ForgeGradle getVersion(org.gradle.api.Project project)