From dddb06298104aa35a9550f50b00bd4268aaa491f Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Mon, 30 Mar 2020 16:24:09 +0200 Subject: [PATCH] Update links to https (#141) --- README.md | 4 ++-- build.sbt | 2 +- src/main/scala/ReproducibleBuildsPlugin.scala | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index be04e1b..0b10ebd 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This plugin provides a number of features: * Strip 'accidental' sources of nondeterminism (e.g. timestamps) from the packaged jar * Produce a ['buildinfo'](https://reproducible-builds.org/docs/recording/) file describing the build environment used and containing a cryptographic hash of the resulting artifacts. * Upload this (signed) certification when publishing - * Upload this (signed) certification to a [reproducible-builds-certification-repository](http://github.com/raboof/reproducible-builds-certification-repository) instance + * Upload this (signed) certification to a [reproducible-builds-certification-repository](https://github.com/raboof/reproducible-builds-certification-repository) instance * Check your local build against already-uploaded certifications (WiP) ## Usage @@ -71,7 +71,7 @@ and either simply `publishLocal`, or, for example if you have `publishCertificat If you are a (3rd-party or 'official') rebuilder, you can use the `reproducible-builds:publish` task to publish the buildinfo to a -[reproducible-builds-certification-repository](http://github.com/raboof/reproducible-builds-certification-repository) instance. +[reproducible-builds-certification-repository](https://github.com/raboof/reproducible-builds-certification-repository) instance. #### Uploading certifications from Travis diff --git a/build.sbt b/build.sbt index a4ee81c..ab3f94f 100644 --- a/build.sbt +++ b/build.sbt @@ -26,7 +26,7 @@ addSbtPlugin("com.typesafe.sbt" %% "sbt-native-packager" % "1.6.2" % Provided) addSbtPlugin("io.crashbox" %% "sbt-gpg" % "0.2.1" % Provided) // addSbtPlugin("com.jsuereth" % "sbt-pgp" % sbtPgpVersion % Provided) -licenses += ("MIT", url("http://opensource.org/licenses/MIT")) +licenses += ("MIT", url("https://opensource.org/licenses/MIT")) scriptedLaunchOpts := { scriptedLaunchOpts.value ++ Seq("-Xmx1024M", "-Dplugin.version=" + version.value) diff --git a/src/main/scala/ReproducibleBuildsPlugin.scala b/src/main/scala/ReproducibleBuildsPlugin.scala index 093f853..feb4b20 100644 --- a/src/main/scala/ReproducibleBuildsPlugin.scala +++ b/src/main/scala/ReproducibleBuildsPlugin.scala @@ -86,7 +86,7 @@ object ReproducibleBuildsPlugin extends AutoPlugin { val pattern: String = target match { case MavenCentral => - "http://repo1.maven.org/maven2/[organisation]/[module](_[scalaVersion])/[revision]/[artifact](_[scalaVersion])-[revision](-[classifier]).[ext]" + "https://repo1.maven.org/maven2/[organisation]/[module](_[scalaVersion])/[revision]/[artifact](_[scalaVersion])-[revision](-[classifier]).[ext]" case PublishToPrefix => val pattern = (publishTo in ReproducibleBuilds).value.getOrElse(bzztNetResolver).asInstanceOf[URLRepository].patterns.artifactPatterns.head pattern.substring(0, pattern.lastIndexOf("/") + 1)