diff --git a/project/Build.scala b/project/Build.scala index 3e3277166714..af483cbbf74a 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -2220,7 +2220,7 @@ object Build { new CloneCommand() .setDirectory(trgDir) .setURI("https://github.com/scala-js/scala-js.git") - .setNoCheckout(true) + .setBranch(s"v$ver") .call() } diff --git a/project/build.sbt b/project/build.sbt index 72216a873dbc..4037f2c6e4b9 100644 --- a/project/build.sbt +++ b/project/build.sbt @@ -1,5 +1,5 @@ // Used by VersionUtil to get gitHash and commitDate -libraryDependencies += "org.eclipse.jgit" % "org.eclipse.jgit" % "4.11.0.201803080745-r" +libraryDependencies += "org.eclipse.jgit" % "org.eclipse.jgit" % "7.3.0.202506031305-r" libraryDependencies += "org.ow2.asm" % "asm" % "9.9" libraryDependencies += Dependencies.`jackson-databind`