From c061ef4633d25b29d59d7efd0e888912060d70da Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Sun, 21 Jun 2026 19:15:05 +0900 Subject: [PATCH] sbt 2 --- .github/workflows/ci.yml | 2 +- project/Build.scala | 2 +- project/build.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fddb50f..acff36d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 with: - java-version: 8 + java-version: 17 distribution: temurin - uses: coursier/cache-action@v8 - uses: sbt/setup-sbt@v1 diff --git a/project/Build.scala b/project/Build.scala index 6e441b4..a42bf68 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -1,7 +1,7 @@ object build { def gitHash: String = - sys.process.Process("git rev-parse HEAD").lineStream_!.head + sys.process.Process("git rev-parse HEAD").lazyLines_!.head val msgpack4zJavaName = "msgpack4z-java" diff --git a/project/build.properties b/project/build.properties index 7c1916d..666624a 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.12.12 +sbt.version=2.0.0