From c3f46e1d2bb0c19237d957aec44f517f24a6eada Mon Sep 17 00:00:00 2001 From: Marcel Luethi Date: Thu, 20 Aug 2026 19:45:40 +0200 Subject: [PATCH 1/3] change version to 0.1.0 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 5550462..19aaf7e 100644 --- a/build.sbt +++ b/build.sbt @@ -1,7 +1,7 @@ import ai.kien.python.Python import scala.sys.process._ -ThisBuild / version := "0.1.0-SNAPSHOT" +ThisBuild / version := "0.1.0" ThisBuild / scalaVersion := "3.8.1" ThisBuild / organization := "ch.contrafactus" From 007ee56f2d7ebf217f1208326941eb389f19d2d4 Mon Sep 17 00:00:00 2001 From: Marcel Luethi Date: Fri, 21 Aug 2026 05:47:13 +0200 Subject: [PATCH 2/3] improvements for publishing to Sonatype --- build.sbt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 19aaf7e..fb813c7 100644 --- a/build.sbt +++ b/build.sbt @@ -52,10 +52,16 @@ ThisBuild / scalafixDependencies += addCommandAlias("testAndCoverage", "; clean; coverage; test; coverageReport") +// alias for uploading core to Sonatype Central +addCommandAlias("sonaUploadCore", "; project core; sonatypeCentralUpload; project root") + lazy val root = (project in file(".")) .aggregate(core, examples) .settings( - name := "dimwit-root" + name := "dimwit-root", + publish / skip := true, + publishLocal / skip := true, + publishArtifact := false ) lazy val uvPython: String = @@ -98,8 +104,8 @@ lazy val examples = (project in file("examples")) ), fork := true, // Don't publish examples - publish := {}, - publishLocal := {}, + publish / skip := true, + publishLocal / skip := true, publishArtifact := false, scalacOptions ++= commonScalacOptions, scalafmtFailOnErrors := false, From 7b76d976bd7bb1542103cf942bd5a0a333e9dc05 Mon Sep 17 00:00:00 2001 From: Marcel Luethi Date: Fri, 21 Aug 2026 17:15:42 +0200 Subject: [PATCH 3/3] Update dimwit Version in installation instructions --- README.md | 5 +---- mdocs/README.md | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1d5f41a..84f5047 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,6 @@ check out the [examples](examples/src/main/scala). ## Using DimWit as a Library -**Note**: DimWit is currently in early development (`0.1.0-SNAPSHOT`). Snapshots are published to the Sonatype Central snapshot repository. - ### Requirements - Scala **3.8** or newer @@ -80,9 +78,8 @@ lazy val myProject = (project in file(".")) .settings( name := "my-project", libraryDependencies ++= Seq( - "ch.contrafactus" %% "dimwit-core" % "0.1.0-SNAPSHOT" + "ch.contrafactus" %% "dimwit-core" % "0.1.0" ), - resolvers += Resolver.sonatypeCentralSnapshots, fork := true ) ``` diff --git a/mdocs/README.md b/mdocs/README.md index 4c14f77..6dba118 100644 --- a/mdocs/README.md +++ b/mdocs/README.md @@ -62,8 +62,6 @@ check out the [examples](examples/src/main/scala). ## Using DimWit as a Library -**Note**: DimWit is currently in early development (`0.1.0-SNAPSHOT`). Snapshots are published to the Sonatype Central snapshot repository. - ### Requirements - Scala **3.8** or newer @@ -80,9 +78,8 @@ lazy val myProject = (project in file(".")) .settings( name := "my-project", libraryDependencies ++= Seq( - "ch.contrafactus" %% "dimwit-core" % "0.1.0-SNAPSHOT" + "ch.contrafactus" %% "dimwit-core" % "0.1.0" ), - resolvers += Resolver.sonatypeCentralSnapshots, fork := true ) ```