Skip to content

Commit

Permalink
sbt 1.6.2; drop remaining release config
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru committed Feb 9, 2022
1 parent 5a1de16 commit fabab62
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 147 deletions.
5 changes: 1 addition & 4 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
**Outdated !!** This repository is no longer released.

1. Create a [new release](https://github.com/akka/akka-stream-contrib/releases/new) with the next tag version (e.g. `v0.3`), title and release decsription including notable changes.
1. Travis should now take care of publishing to sonatype, closing and releasing.
We do not publish binaries for this repository.
16 changes: 3 additions & 13 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
organization := "com.typesafe.akka"
name := "akka-stream-contrib"

crossScalaVersions := Seq("2.13.0", "2.12.9")
crossScalaVersions := Seq("2.13.0")
scalaVersion := crossScalaVersions.value.head

val AkkaVersion = "2.6.0"
Expand Down Expand Up @@ -29,14 +29,6 @@ developers += Developer("contributors",
"https://gitter.im/akka/dev",
url("https://github.com/akka/akka-stream-contrib/graphs/contributors"))

publishTo := sonatypePublishTo.value
publishMavenStyle := true
sonatypeProfileName := "com.typesafe"
isSnapshot := !isVersionStable.value // publish all stable versions as non-snapshots
pgpPublicRing := file("ci-keys/pubring.asc")
pgpSecretRing := file("ci-keys/secring.asc")
pgpPassphrase := sys.env.get("PGP_PASS").map(_.toCharArray)

scalacOptions ++=
Seq("-encoding", "UTF-8", "-feature", "-unchecked", "-deprecation", "-Xlint") ++ (
if (scalaVersion.value startsWith "2.13.")
Expand All @@ -59,10 +51,10 @@ scalacOptions ++=
// By default scalatest futures time out in 150 ms, dilate that to 600ms.
// This should not impact the total test time as we don't expect to hit this
// timeout, and indeed it doesn't appear to.
testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-F", "4")
Test / testOptions += Tests.Argument(TestFrameworks.ScalaTest, "-F", "4")

// show full stack traces and test case durations
testOptions in Test += Tests.Argument("-oDF")
Test / testOptions += Tests.Argument("-oDF")

// -v Log "test run started" / "test started" / "test run finished" events on log level "info" instead of "debug".
// -a Show stack traces and exception class name for AssertionErrors.
Expand All @@ -71,5 +63,3 @@ testOptions += Tests.Argument(TestFrameworks.JUnit, "-v", "-a")
enablePlugins(AutomateHeaderPlugin)
headerLicense := Some(HeaderLicense.Custom(s"Copyright (C) 2016 Lightbend Inc. <http://www.lightbend.com>"))
scalafmtOnCompile := true

addCommandAlias("release", ";publishSigned ;sonatypeRelease")
41 changes: 0 additions & 41 deletions ci-keys/pubring.asc

This file was deleted.

83 changes: 0 additions & 83 deletions ci-keys/secring.asc

This file was deleted.

2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.2.8
sbt.version=1.6.2
7 changes: 2 additions & 5 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.1.0")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.2")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.4")
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "3.3.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.0.0-RC5")
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.5")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")

0 comments on commit fabab62

Please sign in to comment.