Klasse JavaPlatformPlugin

java.lang.Object
org.gradle.api.plugins.JavaPlatformPlugin
Alle implementierten Schnittstellen:
Plugin<Project>

public abstract class JavaPlatformPlugin extends 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).
Seit:
5.2
Siehe auch:
  • Felddetails

    • API_CONFIGURATION_NAME

      public static final String API_CONFIGURATION_NAME
      Siehe auch:
    • RUNTIME_CONFIGURATION_NAME

      public static final String RUNTIME_CONFIGURATION_NAME
      Siehe auch:
    • API_ELEMENTS_CONFIGURATION_NAME

      public static final String API_ELEMENTS_CONFIGURATION_NAME
      Siehe auch:
    • RUNTIME_ELEMENTS_CONFIGURATION_NAME

      public static final String RUNTIME_ELEMENTS_CONFIGURATION_NAME
      Siehe auch:
    • ENFORCED_API_ELEMENTS_CONFIGURATION_NAME

      public static final String ENFORCED_API_ELEMENTS_CONFIGURATION_NAME
      Siehe auch:
    • ENFORCED_RUNTIME_ELEMENTS_CONFIGURATION_NAME

      public static final String ENFORCED_RUNTIME_ELEMENTS_CONFIGURATION_NAME
      Siehe auch:
    • CLASSPATH_CONFIGURATION_NAME

      public static final String CLASSPATH_CONFIGURATION_NAME
      Siehe auch:
  • Konstruktordetails

  • Methodendetails

    • apply

      public void apply(Project project)
      Beschreibung aus Schnittstelle kopiert: Plugin
      Apply this plugin to the given target object.
      Angegeben von:
      apply in Schnittstelle Plugin<Project>
      Parameter:
      project - The target object