From f2abe77f38a1c4f45b3860e5524aca6e1c8b3fd0 Mon Sep 17 00:00:00 2001 From: Thomas Vitale Date: Sun, 24 Mar 2024 22:14:18 +0100 Subject: [PATCH] fix: Compile Java with parameters to support property binding in Maps Signed-off-by: Thomas Vitale --- buildSrc/src/main/groovy/java-conventions.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildSrc/src/main/groovy/java-conventions.gradle b/buildSrc/src/main/groovy/java-conventions.gradle index c49891e..a65758c 100644 --- a/buildSrc/src/main/groovy/java-conventions.gradle +++ b/buildSrc/src/main/groovy/java-conventions.gradle @@ -20,6 +20,10 @@ dependencyManagement { } } +tasks.withType(JavaCompile).configureEach { + options.compilerArgs.add("-parameters") +} + tasks.named('test') { useJUnitPlatform() }