Class DeprecationNotice_1_1

java.lang.Object
com.gradle.scan.eventmodel.gradle.DeprecationNotice_1_0
com.gradle.scan.eventmodel.gradle.DeprecationNotice_1_1
All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData

@GradleVersion(since="4.10") @PluginVersion(since="3.3") public class DeprecationNotice_1_1 extends DeprecationNotice_1_0
A description of the deprecation of a Gradle feature that was used, one or more times, during the build.

The notice is effectively the combination of (DeprecationNotice_1_0.message, DeprecationNotice_1_0.removalDetails and DeprecationNotice_1_0.advice). Each unique combination appearing during the build will be in the event stream, once, and with a unique DeprecationNotice_1_0.id.

Where and when a deprecated feature was used is conveyed by a DeprecatedUsage_1_0, which refers to a notice.

  • Field Details

    • documentationUrl

      @Nullable("for < Gradle 6.2 and when the deprecation notice does not include a documentation URL") public final @Nullable("for < Gradle 6.2 and when the deprecation notice does not include a documentation URL") String documentationUrl
      Link to documentation, describing how to migrate from this deprecated usage.
  • Constructor Details

    • DeprecationNotice_1_1

      public DeprecationNotice_1_1(long id, String message, String removalDetails, String type, @Nullable @Nullable String advice, @Nullable @Nullable String documentationUrl)
  • Method Details