Skip to content

Commit

Permalink
Update build.gradle.kts
Browse files Browse the repository at this point in the history
Try setting zip validation in default script args
  • Loading branch information
HeikoBecker authored Jul 26, 2023
1 parent df81ad4 commit ef19c59
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ configurations {
jbrLinux("com.jetbrains.jdk:jbr_jcef:$jbrVers:linux-x64@tgz")
}
}

System.setProperty("jdk.nio.zipfs.allowDotZipEntry", "true");
System.setProperty("jdk.util.zip.disableZip64ExtraFieldValidation", "true");

dependencyLocking { lockAllConfigurations() }

Expand Down Expand Up @@ -177,7 +174,9 @@ val defaultScriptArgs = mapOf(
"version" to version,
"build.date" to Date(),
//incremental build support
"mps.generator.skipUnmodifiedModels" to true
"mps.generator.skipUnmodifiedModels" to true,
"jdk.nio.zipfs.allowDotZipEntry" to true,
"jdk.util.zip.disableZip64ExtraFieldValidation" to true
)

// enables https://github.com/mbeddr/mps-gradle-plugin#providing-global-defaults
Expand Down

0 comments on commit ef19c59

Please sign in to comment.