Class CompatibleFeatures

java.lang.Object
org.gradle.plugin.compatibility.CompatibleFeatures

public abstract class CompatibleFeatures extends Object
Defines the plugin's compatibility with various Gradle features.
Since:
1.0.0
  • Constructor Details

    • CompatibleFeatures

      public CompatibleFeatures()
  • Method Details

    • getConfigurationCache

      @Input @Optional public abstract org.gradle.api.provider.Property<Boolean> getConfigurationCache()
      Defines the compatibility with the Configuration Cache.

      Due to internal limitations, the value must be computable at configuration time. In particular, it cannot be derived from a task output.

      When this property has no value, the compatibility is considered "undefined". In the future, the Gradle Plugin Portal may stop accepting plugins with undefined compatibility status.

      Returns:
      the Property object
      Since:
      1.0.0
    • getIsolatedProjects

      @Input @Optional public abstract org.gradle.api.provider.Property<Boolean> getIsolatedProjects()
      Defines the compatibility with Isolated Projects.

      Due to internal limitations, the value must be computable at configuration time. In particular, it cannot be derived from a task output.

      The Isolated Projects feature is incubating and not yet recommended for production use. Declaring compatibility indicates that the plugin works with org.gradle.isolated-projects=true on the Gradle versions it supports.

      Returns:
      the Property object
      Since:
      1.1.0