mirror of
https://gitee.com/BTAJL/repchain.git
synced 2024-12-01 19:28:22 +08:00
提升JDK及项目所依赖的包,Jdk13,scala2.13+,及相关依赖
This commit is contained in:
parent
0f7e0c637e
commit
8d38872af9
54
build.sbt
54
build.sbt
@ -1,17 +1,17 @@
|
||||
name := """RepChain"""
|
||||
|
||||
version := "0.9"
|
||||
version := "1.0"
|
||||
|
||||
scalaVersion := "2.12.8"
|
||||
scalaVersion := "2.13.1"
|
||||
|
||||
lazy val akkaVersion = "2.5.22"
|
||||
val akkaHttpVersion = "10.1.8"
|
||||
lazy val akkaVersion = "2.6.1"
|
||||
val akkaHttpVersion = "10.1.11"
|
||||
|
||||
dependencyOverrides ++= Seq(
|
||||
"org.json4s" % "json4s-jackson_2.12" % "3.6.5",
|
||||
"org.json4s" % "json4s-jackson_2.13" % "3.6.7",
|
||||
"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"
|
||||
"com.thesamet.scalapb" % "scalapb-runtime_2.13" % "0.10.0-M2",
|
||||
"org.scala-lang.modules" % "scala-xml_2.13" % "2.0.0-M1"
|
||||
)
|
||||
|
||||
libraryDependencies ++= Seq(
|
||||
@ -30,24 +30,26 @@ 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 += "com.thesamet.scalapb" %% "scalapb-json4s" % "0.10.1-M1"
|
||||
|
||||
|
||||
libraryDependencies += "org.iq80.leveldb" % "leveldb" % "0.11"
|
||||
libraryDependencies += "org.iq80.leveldb" % "leveldb" % "0.12"
|
||||
libraryDependencies += "org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"
|
||||
|
||||
libraryDependencies += "org.rocksdb" % "rocksdbjni" % "6.4.6"
|
||||
|
||||
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.scalactic" %% "scalactic" % "3.0.8"
|
||||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.8" % "test"
|
||||
|
||||
libraryDependencies += "org.javadelight" % "delight-nashorn-sandbox" % "0.1.22"
|
||||
libraryDependencies += "org.javadelight" % "delight-nashorn-sandbox" % "0.1.27"
|
||||
|
||||
libraryDependencies += "io.spray" %% "spray-json" % "1.3.5"
|
||||
|
||||
libraryDependencies += "com.gilt" %% "gfc-timeuuid" % "0.0.8"
|
||||
//libraryDependencies += "com.gilt" %% "gfc-timeuuid" % "0.0.8"
|
||||
|
||||
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3"
|
||||
|
||||
@ -56,18 +58,18 @@ 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",
|
||||
"io.swagger" % "swagger-jaxrs" % "1.6.0",
|
||||
"com.github.swagger-akka-http" %% "swagger-akka-http" % "2.0.3",
|
||||
"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",
|
||||
"org.json4s" %% "json4s-native" % "3.6.7",
|
||||
"org.json4s" %% "json4s-jackson" % "3.6.7",
|
||||
|
||||
"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"
|
||||
)
|
||||
"ch.megard" %% "akka-http-cors" % "0.4.2",
|
||||
"de.heikoseeberger" % "akka-http-json4s_2.13" % "1.30.0"
|
||||
// "com.twitter" %% "chill-akka" % "0.9.4",
|
||||
// "com.twitter" % "chill-bijection_2.12" % "0.9.4"
|
||||
)
|
||||
|
||||
javacOptions ++= Seq("-encoding", "UTF-8")
|
||||
|
||||
@ -75,10 +77,10 @@ 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")
|
||||
//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
|
||||
|
@ -1,4 +1,4 @@
|
||||
#Activator-generated Properties
|
||||
#Fri May 05 17:07:13 CST 2017
|
||||
template.uuid=eee3cc9c-3a01-4d07-9582-35d1adc10093
|
||||
sbt.version=1.1.6
|
||||
sbt.version=1.3.5
|
||||
|
@ -1,3 +1,3 @@
|
||||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.5")
|
||||
addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.0.9")
|
||||
//addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.0.9")
|
||||
resolvers += Resolver.url("bintray-sbt-plugins", url("http://dl.bintray.com/sbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
|
@ -2,5 +2,5 @@ resolvers += "Sonatype snapshots" at "https://oss.sonatype.org/content/repositor
|
||||
//addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.7.0-SNAPSHOT")
|
||||
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "5.2.4")
|
||||
|
||||
addSbtPlugin("com.thesamet" % "sbt-protoc" % "0.99.20")
|
||||
libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.8.4"
|
||||
addSbtPlugin("com.thesamet" % "sbt-protoc" % "0.99.25")
|
||||
libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.10.0-M2"
|
Loading…
Reference in New Issue
Block a user