From 7540756b8f522aa878345908bfc0bd2e7ee4cbb3 Mon Sep 17 00:00:00 2001 From: stivens Date: Thu, 31 Jul 2025 16:53:15 +0200 Subject: [PATCH] release 0.1.0 --- README.md | 8 +++++++- build.sbt | 9 ++++++++- project/plugins.sbt | 4 ++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d866674..2759982 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/build.sbt b/build.sbt index 8a7f21a..ea927c7 100644 --- a/build.sbt +++ b/build.sbt @@ -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")) @@ -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", @@ -16,7 +23,7 @@ developers := List( ) ) -version := "0.1.0-SNAPSHOT" +version := "0.1.0" scalaVersion := "3.3.6" diff --git a/project/plugins.sbt b/project/plugins.sbt index 1a1f0c6..944a2e2 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -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")