GradleDeprecationOwner

constructor(@Json(name = "type") type: GradleDeprecationOwner.Type, @Json(name = "location") location: String? = null)

Parameters

type

The type of the deprecation owner: * plugin - The owner of the deprecation is a plugin. * script - The owner of the deprecation is a script. * task - The owner of the deprecation is a task. * unknown - Unknown deprecation owner type when none of the other options match.

location

The location of the deprecation usage. Can be a plugin id, task path, script file path, script URI. null if the owner type is unknown.