Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e383552ed4 |
3 changed files with 6 additions and 4 deletions
|
|
@ -6,6 +6,6 @@ plugins {
|
|||
}
|
||||
|
||||
allprojects {
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
group = "de.thetadev.formconductor"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
public static <fields>;
|
||||
}
|
||||
}
|
||||
|
||||
# Keep classes and properties annotated with @Form
|
||||
-if @de.thetadev.formconductor.annotations.Form class **
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
package de.thetadev.formconductor.validation.rules
|
||||
|
||||
interface OptionalStateRule<T> {
|
||||
interface OptionalStateRule<T>: ValidationRule {
|
||||
fun isOptional(state: T): Boolean
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue