Compare commits

..
3 changed files with 4 additions and 6 deletions

View file

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

View file

@ -1,9 +1,7 @@
# Keep custom validaton rules -keepclassmembers class * extends de.thetadev.formconductor.validation.rules.ValidationRule {
-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>: ValidationRule { interface OptionalStateRule<T> {
fun isOptional(state: T): Boolean fun isOptional(state: T): Boolean
} }