Package io.micronaut.build.utils
Class IncludedBuildSupport
java.lang.Object
io.micronaut.build.utils.IncludedBuildSupport
Utilities which may be used by the plugins, but also from
users in case of manual configuration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigureIncludedBuildCatalogPublication(org.gradle.process.ExecOperations execOperations, me.champeau.gradle.igp.IncludedGitRepo.CodeReadyEvent evt, me.champeau.gradle.igp.GitIncludeExtension gitIncludeExtension, String githubProjectName) Configures an included build to create their version catalog.
-
Constructor Details
-
IncludedBuildSupport
public IncludedBuildSupport()
-
-
Method Details
-
configureIncludedBuildCatalogPublication
public static void configureIncludedBuildCatalogPublication(org.gradle.process.ExecOperations execOperations, me.champeau.gradle.igp.IncludedGitRepo.CodeReadyEvent evt, me.champeau.gradle.igp.GitIncludeExtension gitIncludeExtension, String githubProjectName) Configures an included build to create their version catalog. This is done so that the catalog can be read by the main build in its settings.gradle file. Without this, the build may fail because Gradle will not automatically trigger the creation of the catalog. The task takes care of snapshotting the gradle/libs.versions.toml file found in the included build directory, and will only perform execution of the task if the snapshot changed.- Parameters:
execOperations- the exec operationsevt- the source included build eventgitIncludeExtension- the git include extensiongithubProjectName- the name of the GitHub project which is included
-