From 605e12175efff6cc052dec7002b08ff9a73a44de Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Sun, 18 Feb 2024 17:51:42 +0100 Subject: [PATCH] Update stripper Should fix #277 as this now strips those 0x000a sections entirely. --- build.sbt | 2 +- .../net/bzzt/reproduciblebuilds/ReproducibleBuildsPlugin.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index bf17337..248aefb 100644 --- a/build.sbt +++ b/build.sbt @@ -27,7 +27,7 @@ enablePlugins(ReproducibleBuildsPlugin) enablePlugins(SbtPlugin) enablePlugins(ScriptedPlugin) -libraryDependencies += "net.bzzt" % "reproducible-builds-jvm-stripper" % "0.9" +libraryDependencies += "net.bzzt" % "reproducible-builds-jvm-stripper" % "0.10" libraryDependencies += "io.spray" %% "spray-json" % "1.3.6" libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.17" % "test" diff --git a/src/main/scala/net/bzzt/reproduciblebuilds/ReproducibleBuildsPlugin.scala b/src/main/scala/net/bzzt/reproduciblebuilds/ReproducibleBuildsPlugin.scala index a1804a5..2d98602 100644 --- a/src/main/scala/net/bzzt/reproduciblebuilds/ReproducibleBuildsPlugin.scala +++ b/src/main/scala/net/bzzt/reproduciblebuilds/ReproducibleBuildsPlugin.scala @@ -323,7 +323,7 @@ object ReproducibleBuildsPlugin extends AutoPlugin { jar, new ZipStripper() .addFileStripper("META-INF/MANIFEST.MF", new ManifestStripper()) - .addFileStripper("META-INF/maven/\\S*/pom.properties", new PomPropertiesStripper()) + .addFileStripper("META-INF/maven/\\S*/pom.properties", new PropertiesFileStripper()) ) def postProcessZip(zip: File): File = postProcessWith(zip, new ZipStripper())