Class StonecutterSettings
-
- All Implemented Interfaces:
public class StonecutterSettingsExecuted for the
stonecutterblock insettings.gradleand responsible for creating versioned subprojects.
-
-
Field Summary
Fields Modifier and Type Field Description private BooleankotlinControllerprivate StringcentralScript
-
Constructor Summary
Constructors Constructor Description StonecutterSettings(Settings settings)
-
Method Summary
Modifier and Type Method Description final BooleangetKotlinController()Enables Kotlin buildscripts for the controller. final UnitsetKotlinController(Boolean kotlinController)Enables Kotlin buildscripts for the controller. final StringgetCentralScript()Buildscript used by all subprojects. final UnitsetCentralScript(String centralScript)final Unitshared(Action<StonecutterSetupBuilder> builder)Configures the version structure for this project. final Unitcreate(String project)Includes the provided project path and assigns the specified configuration to it. final Unitcreate(String projects)Includes the provided project paths and assigns the specified configuration to them. final Stringcreate(Iterable<String> projects)Includes the provided project paths and assigns the specified configuration to them. final Unitcreate(Iterable<ProjectDescriptor> projects)Assigns the specified configuration to projects. final Unitcreate(ProjectDescriptor projects)Assigns the specified configuration to projects. final Unitcreate(ProjectDescriptor project)Assigns the specified configuration to the project. -
-
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.
-
setCentralScript
final Unit setCentralScript(String centralScript)
-
shared
final Unit shared(Action<StonecutterSetupBuilder> builder)
Configures the version structure for this project.
- Parameters:
builder- Configuration scope
-
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
-
-
-
-