Class MicronautBomPlugin

java.lang.Object
io.micronaut.build.MicronautBomPlugin
All Implemented Interfaces:
MicronautPlugin<org.gradle.api.Project>, org.gradle.api.Plugin<org.gradle.api.Project>

public abstract class MicronautBomPlugin extends Object implements MicronautPlugin<org.gradle.api.Project>
This plugin configures a Micronaut module as a platform, that is to say something which publishes a BOM file (or a Gradle catalog). A BOM can be created from the version catalog which is used to build the project itself. In this case, the dependencies which must appear in the BOM have to be prefixed with `managed-`.
  • Field Details

    • DEPENDENCY_PATH

      public static final List<String> DEPENDENCY_PATH
    • BOM_VERSION_INFERENCE_CONFIGURATION_NAME

      public static final String BOM_VERSION_INFERENCE_CONFIGURATION_NAME
      See Also:
    • EXTRA_BOMS_INLINING_CONFIGURATION_NAME

      public static final String EXTRA_BOMS_INLINING_CONFIGURATION_NAME
      See Also:
    • ALL_BOMS_CONFIGURATION_NAME

      public static final String ALL_BOMS_CONFIGURATION_NAME
      See Also:
    • CATALOGS_INLINING_CONFIGURATION_NAME

      public static final String CATALOGS_INLINING_CONFIGURATION_NAME
      See Also:
  • Constructor Details

    • MicronautBomPlugin

      public MicronautBomPlugin()
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>
    • convertToAlias

      public static String convertToAlias(String artifactId)