Class StonecutterSettings

  • All Implemented Interfaces:

    
    public class StonecutterSettings
    
                        

    Executed for the stonecutter block in settings.gradle and responsible for creating versioned subprojects.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean getKotlinController() Enables Kotlin buildscripts for the controller.
      final Unit setKotlinController(Boolean kotlinController) Enables Kotlin buildscripts for the controller.
      final String getCentralScript() Buildscript used by all subprojects.
      final Unit setCentralScript(String centralScript)
      final Unit shared(Action<StonecutterSetupBuilder> builder) Configures the version structure for this project.
      final Unit create(String project) Includes the provided project path and assigns the specified configuration to it.
      final Unit create(String projects) Includes the provided project paths and assigns the specified configuration to them.
      final String create(Iterable<String> projects) Includes the provided project paths and assigns the specified configuration to them.
      final Unit create(Iterable<ProjectDescriptor> projects) Assigns the specified configuration to projects.
      final Unit create(ProjectDescriptor projects) Assigns the specified configuration to projects.
      final Unit create(ProjectDescriptor project) Assigns the specified configuration to the project.
      • Methods inherited from class java.lang.Object

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

      • StonecutterSettings

        StonecutterSettings(Settings settings)
    • Method Detail

      • getKotlinController

         final Boolean getKotlinController()

        Enables Kotlin buildscripts for the controller.

        • stonecutter.gradle ->stonecutter.gradle.kts

      • setKotlinController

         final Unit setKotlinController(Boolean kotlinController)

        Enables Kotlin buildscripts for the controller.

        • stonecutter.gradle ->stonecutter.gradle.kts

      • getCentralScript

         final String getCentralScript()

        Buildscript used by all subprojects. Defaults to build.gradle.

      • create

         final Unit create(String project)

        Includes the provided project path and assigns the specified configuration to it.

        Parameters:
        project - Project path
      • create

         final Unit create(String projects)

        Includes the provided project paths and assigns the specified configuration to them.

        Parameters:
        projects - Project paths
      • create

         final String create(Iterable<String> projects)

        Includes the provided project paths and assigns the specified configuration to them.

        Parameters:
        projects - Project paths
        Returns:

        🍌 to prevent JVM signature crash. Do whatever you want with it

      • create

         final Unit create(Iterable<ProjectDescriptor> projects)

        Assigns the specified configuration to projects.

        Parameters:
        projects - Project references
      • create

         final Unit create(ProjectDescriptor projects)

        Assigns the specified configuration to projects.

        Parameters:
        projects - Project references
      • create

         final Unit create(ProjectDescriptor project)

        Assigns the specified configuration to the project.

        Parameters:
        project - Project reference