From 2e21ea4bad14ee1461d3a91acf41094bfd231747 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Fri, 28 Jul 2023 11:39:17 +0200 Subject: [PATCH] Basic documentation for `reproducibleBuildsCheck` --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 554499f..3520b43 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,18 @@ Checking your certification with the 'official' published certification is currently [not yet implemented](https://github.com/raboof/sbt-reproducible-builds/issues/69). +### Checking published artifacts + +You can check your local artifacts against published ones with +`sbt clean reproducibleBuildsCheck`. If you want to check +against a different repository (such as a staging repository), +you can set the `reproducibleBuildsCheckResolver`: + +``` +import net.bzzt.reproduciblebuilds.ReproducibleBuildsPlugin._ +ThisBuild / reproducibleBuildsCheckResolver := "repository-apache-org-staging" at "https://repository.apache.org/content/groups/staging" +``` + ## Drinking our own champagne From version 0.3 onwards, `sbt-reproducible-builds` should itself be