Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
)
```
Expand Down
14 changes: 10 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -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"

Expand Down Expand Up @@ -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 =
Expand Down Expand Up @@ -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,
Expand Down
5 changes: 1 addition & 4 deletions mdocs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
)
```
Expand Down
Loading