Skip to content

Commit

Permalink
Update links to https (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
raboof authored Mar 30, 2020
1 parent c43bba3 commit dddb062
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/ReproducibleBuildsPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dddb062

Please sign in to comment.