mirror of https://github.com/sbt/sbt.git
[2.0.x] sjson-new 0.15.0
This commit is contained in:
parent
82bb44d543
commit
bbd3ef1f47
|
|
@ -406,7 +406,7 @@ lazy val hashBenchmark = (project in file("internal") / "hash-benchmark")
|
||||||
utilCommonSettings,
|
utilCommonSettings,
|
||||||
name := "Hash Benchmark",
|
name := "Hash Benchmark",
|
||||||
Jmh / run / javaOptions ++= Seq("-Xmx1G", "-Dfile.encoding=UTF8"),
|
Jmh / run / javaOptions ++= Seq("-Xmx1G", "-Dfile.encoding=UTF8"),
|
||||||
libraryDependencies += blake3,
|
libraryDependencies ++= Seq(blake3, zeroAllocationHashing),
|
||||||
mimaSettings,
|
mimaSettings,
|
||||||
publish / skip := true,
|
publish / skip := true,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import sbt.io.syntax.*
|
||||||
import sbt.util.Digest
|
import sbt.util.Digest
|
||||||
import scala.util.Using
|
import scala.util.Using
|
||||||
import org.openjdk.jmh.annotations.*
|
import org.openjdk.jmh.annotations.*
|
||||||
import pt.kcry.blake3.{ Blake3 as Blake3Impl }
|
import pt.kcry.blake3.Blake3 as Blake3Impl
|
||||||
|
|
||||||
@State(Scope.Benchmark)
|
@State(Scope.Benchmark)
|
||||||
abstract class AbstractFileHashBenchmark:
|
abstract class AbstractFileHashBenchmark:
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ object Dependencies {
|
||||||
def addSbtZinc = addSbtModule(sbtZincPath, "zinc", zinc)
|
def addSbtZinc = addSbtModule(sbtZincPath, "zinc", zinc)
|
||||||
def addSbtZincCompileCore = addSbtModule(sbtZincPath, "zincCompileCore", zincCompileCore)
|
def addSbtZincCompileCore = addSbtModule(sbtZincPath, "zincCompileCore", zincCompileCore)
|
||||||
|
|
||||||
lazy val sjsonNewVersion = "0.14.0"
|
lazy val sjsonNewVersion = "0.15.0"
|
||||||
def sjsonNew(n: String) = Def.setting(
|
def sjsonNew(n: String) = Def.setting(
|
||||||
"com.eed3si9n" %% n % sjsonNewVersion
|
"com.eed3si9n" %% n % sjsonNewVersion
|
||||||
) // contrabandSjsonNewVersion.value
|
) // contrabandSjsonNewVersion.value
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue