Deprecated API
Contents
- Packages
- Interfaces
- Classes
- Enum Classes
- Exception Classes
- Annotation Interfaces
- Fields
- Methods
- Constructors
-
Deprecated Packages
-
Deprecated InterfacesInterfaceDescriptionUse
TransformSpecinstead.FindBugs is unmaintained and does not support bytecode compiled for Java 9 and above.FindBugs is unmaintained and does not support bytecode compiled for Java 9 and above.JDepend is unmaintained and does not support bytecode compiled for Java 8 and above.The interface is only here to allow plugins built against Gradle <4.3 to run and it will be removed in Gradle 6.0.UseCommandLineArgumentProviderdirectly.
-
Deprecated ClassesClassDescriptionUse
TransformActioninstead.This class will be removed in Gradle 5.0.This plugin will be removed in the next major version.This plugin will be removed in the next major version.This plugin will be removed in the next major version.FindBugs is unmaintained and does not support bytecode compiled for Java 9 and above.FindBugs is unmaintained and does not support bytecode compiled for Java 9 and above.FindBugs is unmaintained and does not support bytecode compiled for Java 9 and above.JDepend is unmaintained and does not support bytecode compiled for Java 8 and above.JDepend is unmaintained and does not support bytecode compiled for Java 8 and above.JDepend is unmaintained and does not support bytecode compiled for Java 8 and above.
-
Deprecated Enum Classes
-
Deprecated Exception Classes
-
Deprecated Annotation Interfaces
-
Deprecated FieldsFieldDescriptionUsers should prefer
JavaPlugin.API_CONFIGURATION_NAMEorJavaPlugin.IMPLEMENTATION_CONFIGURATION_NAME.Consumers should useJavaPlugin.RUNTIME_ELEMENTS_CONFIGURATION_NAMEinstead.UseJavaPlugin.TEST_RUNTIME_CLASSPATH_CONFIGURATION_NAMEinstead.
-
Deprecated MethodsMethodDescriptionuse
DependencyHandler.registerTransform(Class, Action)instead.UseComponentSelectionReason.getDescriptions()insteadUseResolvedComponentResult.getVariants()instead}Replaced byObjectFactory.directoryProperty()Replaced byObjectFactory.fileProperty()Replaced byObjectFactory.directoryProperty()Replaced byObjectFactory.fileProperty()Please useObjectFactory.fileCollection()instead.Replaced byObjectFactory.directoryProperty()Replaced byObjectFactory.directoryProperty()Replaced byObjectFactory.fileProperty()Replaced byObjectFactory.fileProperty()UsePluginManager.apply(Class)instead.UsePluginManager.apply(Class)instead.plugins cannot be removed.plugins cannot be removed.plugins cannot be removed.UseCompileOptions.getAnnotationProcessorPath()instead.This method always returns false starting from Gradle 5.0.UseCompileOptions.getAnnotationProcessorPath()instead.UseValidateTaskProperties.getClasses().setFrom instead.UseValidateTaskProperties.getClasspath().setFrom instead.This flag is no longer used and simply defaults to 'false'.This flag is no longer used.This flag is no longer used.This flag is no longer used and simply defaults to 'false'.This method will be made private in a future version of Gradle.The Jacoco plugin now deletes the old coverage file before task execution, so the data will never be appended to an existing coverage file from another task. UseJacocoMergeto merge different execution files or useJacocoReportBase.setExecutionData(FileCollection)to generate a report from multiple execution files at once. Append is set to true for the agent since this allows multiple JVMs spawned by one task to write to the samedestination file.UsegetAdditionalClassDirs().setFrom(...)UsegetAdditionalSourceDirs().setFrom(...)UsegetClassDirectories().setFrom(...)UsegetExecutionData().setFrom(...)UsegetSourceDirectories().setFrom(...)UseIdeaContentRoot.getSourceDirectories()in combination withIdeaSourceDirectory.isGenerated()instead.UseIdeaContentRoot.getTestDirectories()in combination withIdeaSourceDirectory.isGenerated()instead.
-
Deprecated ConstructorsConstructorDescriptionCreating instances of this class is deprecated. These should be created by the OSGi plugin only.