In jdk 17.0.8+7 they have added more check in the ZipFIle class. This results now in a ZipException for certain jar files. To prevent this the jdk provides the system property “jdk.util.zip.disableZip64ExtraFieldValidation=true”. Unfortunately i was not able so far to pass this property to the gradle daemon executing my build and therefore it always fails. I verified with the debugger that the bild would work fine if this property is really set in the jvm.
I tried to set this propety in my gradle.properties file as
but this does not work, the property is not passed to the executing jvm.
Is there a special way to pass this property to the executing jvm so my build is able to work properly?