Skip to content

Commit

Permalink
Merge pull request #72 from isomarcte/update-dependencies-fix-depreca…
Browse files Browse the repository at this point in the history
…tion-warnings

Update Dependencies And Fix Deprecation Warnings
  • Loading branch information
johanandren authored Sep 30, 2020
2 parents 27d4ea5 + af7e3d7 commit 3a70eef
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import sbt._
object Library {

// Versions
val bndVersion = "4.2.0"
val specs2Version = "3.9.4"
val bndVersion = "5.1.2"
val specs2Version = "4.10.3"

// Libraries
val bndLib = "biz.aQute.bnd" % "biz.aQute.bndlib" % bndVersion
Expand Down
3 changes: 1 addition & 2 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
sbt.version=1.2.8

sbt.version=1.3.13
6 changes: 3 additions & 3 deletions src/main/scala/com/typesafe/sbt/osgi/Osgi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import sbt._
import sbt.Keys._
import sbt.Package.ManifestAttributes

import scala.collection.JavaConversions._
import scala.collection.JavaConverters._
import scala.language.implicitConversions

private object Osgi {
Expand Down Expand Up @@ -73,8 +73,8 @@ private object Osgi {
builder.build
}
val log = streams.log
builder.getWarnings.foreach(s => log.warn(s"bnd: $s"))
builder.getErrors.foreach(s => log.error(s"bnd: $s"))
builder.getWarnings.asScala.foreach(s => log.warn(s"bnd: $s"))
builder.getErrors.asScala.foreach(s => log.error(s"bnd: $s"))
jar.write(tmpArtifactPath)
IO.move(tmpArtifactPath, artifactPath)
artifactPath
Expand Down

0 comments on commit 3a70eef

Please sign in to comment.