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.core.currency.Bitcoins
import org.bitcoins.rpc.client.BitcoindRpcClient import org.bitcoins.rpc.client.BitcoindRpcClient
import org.bitcoins.rpc.config.BitcoindInstance import org.bitcoins.rpc.config.BitcoindInstance
import org.bitcoins.rpc.util.RpcUtil
import org.scalatest.{AsyncFlatSpec, BeforeAndAfterAll} import org.scalatest.{AsyncFlatSpec, BeforeAndAfterAll}
import scala.concurrent.Future import scala.concurrent.Future

View File

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

View File

@ -4,7 +4,7 @@ import java.io.File
import java.net.URI import java.net.URI
import java.nio.file.Paths 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.config.{MainNet, NetworkParameters, RegTest, TestNet3}
import org.bitcoins.core.protocol.ln.LnPolicy import org.bitcoins.core.protocol.ln.LnPolicy