代码拉取完成,页面将自动刷新
同步操作将从 区块链技术与应用联合实验室/RepChain 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
name := """RepChain"""
version := "0.9"
scalaVersion := "2.12.8"
lazy val akkaVersion = "2.5.22"
val akkaHttpVersion = "10.1.8"
dependencyOverrides ++= Seq(
"org.json4s" % "json4s-jackson_2.12" % "3.6.5",
"com.google.guava" % "guava" % "21.0",
"com.thesamet.scalapb" % "scalapb-runtime_2.12" % "0.7.0",
"org.scala-lang.modules" % "scala-xml_2.12" % "1.1.1"
)
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster" % akkaVersion,
"com.typesafe.akka" %% "akka-cluster-tools" % akkaVersion,
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test",
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
"com.typesafe.akka" %% "akka-persistence" % akkaVersion,
"com.typesafe.akka" %% "akka-distributed-data" % akkaVersion
)
libraryDependencies += "com.typesafe.akka" %% "akka-http-xml" % akkaHttpVersion
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVersion.value
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.9.2"
libraryDependencies += "com.thesamet.scalapb" %% "scalapb-json4s" % "0.7.0"
libraryDependencies += "org.iq80.leveldb" % "leveldb" % "0.11"
libraryDependencies += "org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"
libraryDependencies += "org.mapdb" % "mapdb" % "3.0.7"
libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.14.0" % "test"
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.7"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.7" % "test"
libraryDependencies += "org.javadelight" % "delight-nashorn-sandbox" % "0.1.22"
libraryDependencies += "io.spray" %% "spray-json" % "1.3.5"
libraryDependencies += "com.gilt" %% "gfc-timeuuid" % "0.0.8"
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3"
libraryDependencies += "org.codehaus.janino" % "janino" % "3.0.12"
libraryDependencies += "org.bouncycastle" % "bcprov-jdk15on" % "1.61"
libraryDependencies ++= Seq(
"io.swagger" % "swagger-jaxrs" % "1.5.18",
"com.github.swagger-akka-http" %% "swagger-akka-http" % "1.0.0",
"com.typesafe.akka" %% "akka-http" % akkaHttpVersion,
"com.typesafe.akka" %% "akka-http-spray-json" % akkaHttpVersion,
"org.json4s" %% "json4s-native" % "3.6.5",
"org.json4s" %% "json4s-jackson" % "3.6.5",
"ch.megard" %% "akka-http-cors" % "0.4.0",
"de.heikoseeberger" % "akka-http-json4s_2.12" % "1.25.2",
"com.twitter" %% "chill-akka" % "0.9.3",
"com.twitter" % "chill-bijection_2.12" % "0.9.3"
)
javacOptions ++= Seq("-encoding", "UTF-8")
PB.targets in Compile := Seq(
scalapb.gen() -> (sourceManaged in Compile).value
)
libraryDependencies += "com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf"
addCompilerPlugin("org.psywerx.hairyfotr" %% "linter" % "0.1.17")
scalacOptions += "-P:linter:disable:UseIfExpression+VariableAssignedUnusedValue+UseGetOrElseNotPatMatch"
scapegoatVersion in ThisBuild := "1.3.3"
scapegoatDisabledInspections := Seq("OptionGet", "AsInstanceOf","MethodReturningAny")
assemblyMergeStrategy in assembly := {
case PathList("org", "iq80", "leveldb", xs @ _*) => MergeStrategy.first
case x =>
val oldStrategy = (assemblyMergeStrategy in assembly).value
oldStrategy(x)
}
mainClass in (Compile, packageBin) := Some("rep.app.Repchain_Single")
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。