Package dev.kikugie.stonecutter
Class StonecutterSetupBuilder
-
- All Implemented Interfaces:
public class StonecutterSetupBuilderRepresents the initial setup defined in
settings.gradlein thesharedblock.
-
-
Field Summary
Fields Modifier and Type Field Description private StringvcsVersion
-
Method Summary
Modifier and Type Method Description final StringgetVcsVersion()final UnitsetVcsVersion(String vcsVersion)final Unitvers(String project, String version)Creates a subproject with separate directory and Minecraft version. final Unitvers(String project)Creates a subproject with separate directory and Minecraft version. final Unitversions(String projects)Adds subprojects to the Stonecutter setup. final Unitversions(Iterable<String> projects)Adds subprojects to the Stonecutter setup. final UnitvcsVersion(String version)The base version for this project. -
-
Method Detail
-
getVcsVersion
final String getVcsVersion()
-
setVcsVersion
final Unit setVcsVersion(String vcsVersion)
-
vers
@JvmOverloads() final Unit vers(String project, String version)
Creates a subproject with separate directory and Minecraft version.
- Parameters:
project- Subproject directory to be used in./versions/.version- Minecraft version assigned to this subproject.
-
vers
@JvmOverloads() final Unit vers(String project)
Creates a subproject with separate directory and Minecraft version.
- Parameters:
project- Subproject directory to be used in./versions/.
-
versions
final Unit versions(String projects)
Adds subprojects to the Stonecutter setup. Subproject directory and version are set to the same value. For more precise controls use vers.
- Parameters:
projects- Subprojects to be included
-
versions
final Unit versions(Iterable<String> projects)
Adds subprojects to the Stonecutter setup. Subproject directory and version are set to the same value. For more precise controls use vers.
- Parameters:
projects- Subprojects to be included
-
vcsVersion
final Unit vcsVersion(String version)
The base version for this project. It is selected on the first setup and targeted by
Reset active project
-
-
-
-