Class IncludedBuildSupport

java.lang.Object
io.micronaut.build.utils.IncludedBuildSupport

public class IncludedBuildSupport extends Object
Utilities which may be used by the plugins, but also from users in case of manual configuration.
  • 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 operations
      evt - the source included build event
      gitIncludeExtension - the git include extension
      githubProjectName - the name of the GitHub project which is included