Skip to content

Commit

Permalink
Merge pull request #19 from Dwolla/bintray
Browse files Browse the repository at this point in the history
remove bintray-hosted dependencies
  • Loading branch information
bpholt authored Apr 14, 2021
2 parents 071cfe6 + 3cc3016 commit e709020
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,6 @@ lazy val fs2TestKit: Project = (project in file("test-kit"))

lazy val `fs2-aws` = (project in file("."))
.settings(
skip in publish := true,
publish / skip := true,
)
.aggregate(fs2UtilsJVM, fs2Utils.js, fs2AwsUtils, fs2Aws2Utils, fs2TestKit, lambdaIOApp.jvm, lambdaIOApp.js)
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ object AmazonAsyncMockingImplicits {
when(func(any[Req], any[AsyncHandler[Req, Res]])) thenAnswer ((invocation: InvocationOnMock) => {
invocation.getArguments match {
case Array(req, handler) => handler.asInstanceOf[AsyncHandler[Req, Res]].onSuccess(req.asInstanceOf[Req], res)
case _ => throw new IllegalArgumentException("must be invoked with the request and handler as arguments")
}
null
})
Expand Down Expand Up @@ -80,6 +81,7 @@ object AmazonAsyncMockingImplicits {
case Left(ex) => handler.onError(ex)
case Right(res) => handler.onSuccess(req, res)
}
case _ => throw new IllegalArgumentException("must be invoked with the request and handler as arguments")
}
null
})
Expand Down
7 changes: 3 additions & 4 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.5")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.0")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.5.1")
addSbtPlugin("org.portable-scala" % "sbt-crossproject" % "1.0.0")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.0.0")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.16")
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.17")
addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.10.1")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.7")

resolvers += Resolver.bintrayRepo("oyvindberg", "converter")
addSbtPlugin("org.scalablytyped.converter" % "sbt-converter" % "1.0.0-beta30")
addSbtPlugin("org.scalablytyped.converter" % "sbt-converter" % "1.0.0-beta32")

0 comments on commit e709020

Please sign in to comment.