From 947b5afd69f001622ae99eb8573a3ba3139cf13f Mon Sep 17 00:00:00 2001 From: Jason Pickens Date: Sun, 2 Jun 2024 23:02:03 +1200 Subject: [PATCH] Add workaround for git worktree --- build.sbt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.sbt b/build.sbt index 1e50b7c2c..66d1eafda 100644 --- a/build.sbt +++ b/build.sbt @@ -1,3 +1,5 @@ +import com.github.sbt.git.SbtGit.GitKeys.useConsoleForROGit + val scala3Version = "3.4.2" val scala212Version = "2.12.19" val scala213Version = "2.13.14" @@ -22,6 +24,8 @@ sonatypeRepository := "https://s01.oss.sonatype.org/service/loca sonatypeProfileName := "io.getkyo" publish / skip := true +ThisBuild / useConsoleForROGit := (baseDirectory.value / ".git").isFile + lazy val `kyo-settings` = Seq( fork := true, scalaVersion := scala3Version,