mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-26 21:42:48 +01:00
Add -Xsource:3
to lnd-rpc
(#5595)
* Add -Xsource:3 to lnd-rpc * Upgrade pekko-grpc-sbt-plugin to 1.1.0-M1 to support -Xsource:3 * Remove -quickfix:any * Upgrade other pekko deps to 1.1.0-M1 to fix ILlegalStateExceptions w/ dep clashes
This commit is contained in:
parent
559157e0c7
commit
4885bdb07d
5 changed files with 6 additions and 6 deletions
|
@ -141,6 +141,7 @@ lazy val eclairRpc = project
|
|||
|
||||
lazy val lndRpc = project
|
||||
.in(file("lnd-rpc"))
|
||||
.settings(scalacOptions += "-Xsource:3")
|
||||
.settings(CommonSettings.prodSettings: _*)
|
||||
.dependsOn(asyncUtilsJVM, appCommons)
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ class LndRpcClient(val instance: LndInstance, binaryOpt: Option[File] = None)(
|
|||
})
|
||||
}
|
||||
|
||||
def thisUsesUnstableApi(): Unit = ()
|
||||
override def thisUsesUnstableApi(): Unit = ()
|
||||
}
|
||||
|
||||
// Configure the client
|
||||
|
|
|
@ -165,8 +165,7 @@ object CommonSettings {
|
|||
"-Xlint:constant",
|
||||
"-Xlint:nonlocal-return",
|
||||
"-Xlint:implicit-not-found",
|
||||
"-Xlint:serial",
|
||||
"-quickfix:any"
|
||||
"-Xlint:serial"
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -23,9 +23,9 @@ object Deps {
|
|||
val spray = "1.3.6"
|
||||
val zeromq = "0.5.4"
|
||||
val scalapb = "0.11.17"
|
||||
val akkav = "1.0.1"
|
||||
val akkav = "1.1.0-M1"
|
||||
val playv = "3.0.4" // https://github.com/playframework/play-json/releases
|
||||
val akkaStreamv = "1.0.2"
|
||||
val akkaStreamv = "1.1.0-M1"
|
||||
val jUnixSocketV = "2.10.0"
|
||||
val scodecV = "1.2.0"
|
||||
val junitV = "0.13.3"
|
||||
|
|
|
@ -48,7 +48,7 @@ addSbtPlugin("org.scalameta" % "sbt-native-image" % "0.3.4")
|
|||
|
||||
// gRPC
|
||||
//https://pekko.apache.org/docs/pekko-grpc/current/server/walkthrough.html#setting-up
|
||||
addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % "1.0.2")
|
||||
addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % "1.1.0-M1")
|
||||
|
||||
// Scala.js
|
||||
//https://www.scala-js.org/doc/project/
|
||||
|
|
Loading…
Add table
Reference in a new issue