From d99cf7092e8fc712b07c0ea5dcf697a8dcf3b7fa Mon Sep 17 00:00:00 2001 From: Michael Pilquist Date: Tue, 12 May 2026 09:31:05 +0100 Subject: [PATCH 1/2] Fix publication failure due to codegen hygiene problem --- build.sbt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 726bde9..e9c8ecb 100644 --- a/build.sbt +++ b/build.sbt @@ -96,7 +96,8 @@ lazy val root = tlCrossRootProject .settings(name := projectName) val codeGen = Def.task { - val cache = streams.value.cacheDirectory / "idna4s-codegen" + val cache = + streams.value.cacheDirectory / "idna4s-codegen" / thisProjectRef.value.project / scalaVersion.value val log = streams.value.log val inputDir = cache / "inputs" IO.createDirectory(inputDir) From 10632294f5d68c92ca865fd0ab516d6a1fc809c9 Mon Sep 17 00:00:00 2001 From: Michael Pilquist Date: Tue, 12 May 2026 09:33:35 +0100 Subject: [PATCH 2/2] Scalafmt --- build.sbt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index e9c8ecb..fcd6f48 100644 --- a/build.sbt +++ b/build.sbt @@ -97,7 +97,9 @@ lazy val root = tlCrossRootProject val codeGen = Def.task { val cache = - streams.value.cacheDirectory / "idna4s-codegen" / thisProjectRef.value.project / scalaVersion.value + streams.value.cacheDirectory / "idna4s-codegen" / thisProjectRef + .value + .project / scalaVersion.value val log = streams.value.log val inputDir = cache / "inputs" IO.createDirectory(inputDir)