Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e383552ed4 |
3 changed files with 6 additions and 4 deletions
|
|
@ -6,6 +6,6 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
group = "de.thetadev.formconductor"
|
group = "de.thetadev.formconductor"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
-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>;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue