Clean up compiler warnings (#349)

This commit is contained in:
Chris Stewart 2019-02-19 14:44:44 -06:00 committed by GitHub
parent 88e6450c5a
commit cf4d80626a
3 changed files with 12 additions and 6 deletions

View File

@ -7,7 +7,6 @@ import akka.testkit.TestKit
import org.bitcoins.core.currency.Bitcoins
import org.bitcoins.rpc.client.BitcoindRpcClient
import org.bitcoins.rpc.config.BitcoindInstance
import org.bitcoins.rpc.util.RpcUtil
import org.scalatest.{AsyncFlatSpec, BeforeAndAfterAll}
import scala.concurrent.Future

View File

@ -143,8 +143,10 @@ lazy val core = project
lazy val coreTest = project
.in(file("core-test"))
.settings(commonSettings: _*)
.settings(skip in publish := true)
.dependsOn(
.settings(
skip in publish := true,
name := "bitcoin-s-core-test"
).dependsOn(
core,
testkit,
).enablePlugins()
@ -171,7 +173,9 @@ lazy val bitcoindRpc = project
lazy val bitcoindRpcTest = project
.in(file("bitcoind-rpc-test"))
.settings(commonSettings: _*)
.settings(libraryDependencies ++= Deps.bitcoindRpcTest)
.settings(libraryDependencies ++= Deps.bitcoindRpcTest,
name := "bitcoin-s-bitcoind-rpc-test",
skip in publish := true)
.dependsOn(testkit)
.enablePlugins()
@ -203,7 +207,10 @@ lazy val eclairRpc = project
lazy val eclairRpcTest = project
.in(file("eclair-rpc-test"))
.settings(commonSettings: _*)
.settings(libraryDependencies ++= Deps.eclairRpcTest)
.settings(libraryDependencies ++= Deps.eclairRpcTest,
name := "bitcoin-s-eclair-rpc-test",
skip in publish := true
)
.dependsOn(testkit)
.enablePlugins()

View File

@ -4,7 +4,7 @@ import java.io.File
import java.net.URI
import java.nio.file.Paths
import com.typesafe.config.{Config, ConfigFactory, ConfigValueFactory}
import com.typesafe.config.{Config, ConfigFactory}
import org.bitcoins.core.config.{MainNet, NetworkParameters, RegTest, TestNet3}
import org.bitcoins.core.protocol.ln.LnPolicy