Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionThis type is not supported when configuration caching is enabled.This type is not supported when configuration caching is enabled.
-
Deprecated ClassesClassDescriptionUse
AbstractProjectBasedReportTaskinstead.UseAbstractProjectBasedReportTaskinstead.
-
Deprecated Exception ClassesException ClassDescriptionUse java.io.UncheckedIOException instead. Will be removed in Gradle 10.
-
Deprecated Annotation TypesAnnotation TypeDescriptionDeprecated in Gradle 9 for removal in Gradle 10. Prefer JSpecify annotations such as
NullMarkedandNullable. Note that you can also still use JSR305 annotations such asNonnullandNullable.
-
Deprecated MethodsMethodDescriptionuse
ComponentSelectionRules.all(Action)instead.useComponentSelectionRules.withModule(Object,Action)instead.This property is deprecated and will be removed in Gradle 10.This property is deprecated and will be removed in Gradle 10.This method will be removed in Gradle 10. UseDependenciesMetadata.add(String)instead.This method will be removed in Gradle 10. UseDependenciesMetadata.add(String, Action)instead.This method is deprecated and will be removed in Gradle 10.This method will be removed in Gradle 10. Use single-string notation instead.This method is not supported when configuration caching is enabled.This method is not supported when configuration caching is enabled.This method is not supported when configuration caching is enabled.This method is not supported when configuration caching is enabled.This method is not supported when configuration caching is enabled.This method is not supported when configuration caching is enabled.This method is not supported when configuration caching is enabled.This method is not supported when configuration caching is enabled.Will be removed in Gradle 10. Logging customization through listeners is no longer supported.UsePluginManager.apply(Class)instead.UsePluginManager.apply(Class)instead.plugins cannot be removed.plugins cannot be removed.plugins cannot be removed.UseObjectFactory.domainObjectContainer(Class)instead.UsegetLayout().getBuildDirectory()insteadUsegetLayout().getBuildDirectory()and set theDirectoryPropertyUsegetLayout().getBuildDirectory()and set theDirectoryPropertyUsetasks.register(String)insteadUsetasks.register(String, Action)insteadUsetasks.register(String, Action)insteadUse atasks.registervariant insteadUse atasks.registervariant insteadUsegetBaseDirectory().file(path)orgetBaseDirectory().dir(path)instead.Use your own way of generating a title for API documentation.UseTaskContainer.register(String)instead. See documentation for more information.UseTaskContainer.register(String, Action)instead. See documentation for more information.UseTaskContainer.register(String, Class)instead. See documentation for more information.UseTaskContainer.register(String, Class, Object...)instead. See documentation for more information.UseTaskContainer.register(String, Class, Action)instead. See documentation for more information.UseTaskContainer.register(String, Action)instead. See documentation for more information.UseTaskContainer.register(String, Action)orTaskContainer.register(String, Class, Action)instead. See documentation for more information.UseTaskContainer.register(String, Action)instead. See documentation for more information.This method is not supported when configuration caching is enabled.UseConfiguration Cache build featureinstead.usePath.asString()instead