diff --git a/src/main/kotlin/app/revanced/patcher/annotation/MetadataAnnotation.kt b/src/main/kotlin/app/revanced/patcher/annotation/MetadataAnnotation.kt index 7095a6d..5c59f2d 100644 --- a/src/main/kotlin/app/revanced/patcher/annotation/MetadataAnnotation.kt +++ b/src/main/kotlin/app/revanced/patcher/annotation/MetadataAnnotation.kt @@ -26,6 +26,7 @@ annotation class Description( * @param version The version of a [Patch]. */ @Target(AnnotationTarget.CLASS) +@Deprecated("This annotation is deprecated and will be removed in a future release.") annotation class Version( val version: String, ) diff --git a/src/main/kotlin/app/revanced/patcher/extensions/PatchExtensions.kt b/src/main/kotlin/app/revanced/patcher/extensions/PatchExtensions.kt index 06f2224..fb25246 100644 --- a/src/main/kotlin/app/revanced/patcher/extensions/PatchExtensions.kt +++ b/src/main/kotlin/app/revanced/patcher/extensions/PatchExtensions.kt @@ -25,6 +25,7 @@ object PatchExtensions { /** * The version of a [Patch]. */ + @Deprecated("This property is deprecated and will be removed in a future release.") val Class>.version get() = findAnnotationRecursively(Version::class)?.version