Compare commits

..
Author SHA1 Message Date
e383552ed4 fix: do not obfuscate OptionalStateRules 2026-09-03 16:51:05 +02:00
3 changed files with 6 additions and 4 deletions

View file

@ -6,6 +6,6 @@ plugins {
} }
allprojects { allprojects {
version = "0.3.0" version = "0.3.1"
group = "de.thetadev.formconductor" group = "de.thetadev.formconductor"
} }

View file

@ -1,7 +1,9 @@
-keepclassmembers class * extends de.thetadev.formconductor.validation.rules.ValidationRule { # Keep custom validaton rules
-keep class * extends de.thetadev.formconductor.validation.rules.ValidationRule {
public static ** INSTANCE;
<methods>; <methods>;
public static <fields>; public static <fields>;
} }
# Keep classes and properties annotated with @Form # Keep classes and properties annotated with @Form
-if @de.thetadev.formconductor.annotations.Form class ** -if @de.thetadev.formconductor.annotations.Form class **

View file

@ -1,5 +1,5 @@
package de.thetadev.formconductor.validation.rules package de.thetadev.formconductor.validation.rules
interface OptionalStateRule<T> { interface OptionalStateRule<T>: ValidationRule {
fun isOptional(state: T): Boolean fun isOptional(state: T): Boolean
} }