diff --git a/src/main/kotlin/app/revanced/patcher/patch/annotations/PatchAnnotation.kt b/src/main/kotlin/app/revanced/patcher/patch/annotations/PatchAnnotation.kt index b859fc6..307a798 100644 --- a/src/main/kotlin/app/revanced/patcher/patch/annotations/PatchAnnotation.kt +++ b/src/main/kotlin/app/revanced/patcher/patch/annotations/PatchAnnotation.kt @@ -39,4 +39,15 @@ annotation class DependsOn( val type: DependencyType = DependencyType.HARD ) -enum class DependencyType { HARD, SOFT } \ No newline at end of file +enum class DependencyType { + /** + * Enforces that the dependency is applied, even if it was not selected. + */ + HARD, + + /** + * Applies the dependency only if it was selected. + */ + @Deprecated("Will be removed when Patch Options is implemented.", ReplaceWith("HARD")) + SOFT +} \ No newline at end of file