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
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ A Scala 3 library that provides compile-time guarantees for complete case class

## Installation

This library is not yet published to any package repository
Add CaseComplete to your `build.sbt`:

![Maven Central Version](https://img.shields.io/maven-central/v/io.github.stivens/casecomplete_3?strategy=highestVersion&style=social)

```scala
libraryDependencies += "io.github.stivens" %% "casecomplete" % "0.1.0"
```

## Quick Start

Expand Down
9 changes: 8 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
import xerial.sbt.Sonatype.sonatypeCentralHost

sonatypeCredentialHost := sonatypeCentralHost

publishTo := sonatypePublishToBundle.value

organization := "io.github.stivens"
name := "CaseComplete"
homepage := Some(url("https://github.com/stivens/CaseComplete"))
Expand All @@ -7,6 +13,7 @@ scmInfo := Some(
"scm:git@github.com:stivens/CaseComplete.git"
)
)
licenses := Seq("MIT" -> url("https://github.com/stivens/CaseComplete/blob/main/LICENSE"))
developers := List(
Developer(
id = "stivens",
Expand All @@ -16,7 +23,7 @@ developers := List(
)
)

version := "0.1.0-SNAPSHOT"
version := "0.1.0"

scalaVersion := "3.3.6"

Expand Down
4 changes: 4 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.14.3")
addDependencyTreePlugin

addSbtPlugin("net.vonbuchholtz" % "sbt-dependency-check" % "5.1.0")

addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.12.2")