Class JavaPlatformPlugin

  • All Implemented Interfaces:
    Plugin<Project>

    public abstract class JavaPlatformPlugin
    extends java.lang.Object
    implements Plugin<Project>
    The Java platform plugin allows building platform components for Java, which are usually published as BOM files (for Maven) or Gradle platforms (Gradle metadata).
    Since:
    5.2
    See Also:
    Java Platform plugin reference
    • Field Detail

      • API_CONFIGURATION_NAME

        public static final java.lang.String API_CONFIGURATION_NAME
        See Also:
        Constant Field Values
      • RUNTIME_CONFIGURATION_NAME

        public static final java.lang.String RUNTIME_CONFIGURATION_NAME
        See Also:
        Constant Field Values
      • API_ELEMENTS_CONFIGURATION_NAME

        public static final java.lang.String API_ELEMENTS_CONFIGURATION_NAME
        See Also:
        Constant Field Values
      • RUNTIME_ELEMENTS_CONFIGURATION_NAME

        public static final java.lang.String RUNTIME_ELEMENTS_CONFIGURATION_NAME
        See Also:
        Constant Field Values
      • ENFORCED_API_ELEMENTS_CONFIGURATION_NAME

        public static final java.lang.String ENFORCED_API_ELEMENTS_CONFIGURATION_NAME
        See Also:
        Constant Field Values
      • ENFORCED_RUNTIME_ELEMENTS_CONFIGURATION_NAME

        public static final java.lang.String ENFORCED_RUNTIME_ELEMENTS_CONFIGURATION_NAME
        See Also:
        Constant Field Values
      • CLASSPATH_CONFIGURATION_NAME

        public static final java.lang.String CLASSPATH_CONFIGURATION_NAME
        See Also:
        Constant Field Values
    • Method Detail

      • apply

        public void apply​(Project project)
        Description copied from interface: Plugin
        Apply this plugin to the given target object.
        Specified by:
        apply in interface Plugin<Project>
        Parameters:
        project - The target object