Class StonecutterSetupBuilder

  • All Implemented Interfaces:

    
    public class StonecutterSetupBuilder
    
                        

    Represents the initial setup defined in settings.gradle in the shared block.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private String vcsVersion
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getVcsVersion()
      final Unit setVcsVersion(String vcsVersion)
      final Unit vers(String project, String version) Creates a subproject with separate directory and Minecraft version.
      final Unit vers(String project) Creates a subproject with separate directory and Minecraft version.
      final Unit versions(String projects) Adds subprojects to the Stonecutter setup.
      final Unit versions(Iterable<String> projects) Adds subprojects to the Stonecutter setup.
      final Unit vcsVersion(String version) The base version for this project.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • 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