diff --git a/build.mill b/build.mill index 574927d..7076a00 100644 --- a/build.mill +++ b/build.mill @@ -1,10 +1,11 @@ package build -import mill._, javalib._, errorprone._ +import mill._, javalib._, errorprone._, publish._ import $ivy.`de.tototec::de.tobiasroeser.mill.jacoco::0.0.4` import de.tobiasroeser.mill.jacoco._ +import mill.scalalib.SonatypeCentralPublishModule -object `package` extends RootModule with MavenModule with ErrorProneModule { +object `package` extends RootModule with MavenModule with ErrorProneModule with PublishModule { def artifactName = "vavr-effect" @@ -32,6 +33,15 @@ Agg(ivy"org.jspecify:jspecify:1.0.0") def publishVersion = "0.1-SNAPSHOT" + + def pomSettings = PomSettings( + description = "A library that provides Vavr-like effects for Scala", + organization = "com.github.tonivade", + url = "https://tonivade.es/gitbucket/tonivade/vavr-effect", + licenses = Seq(License.MIT), + versionControl = VersionControl.github("tonivade", "vavr-effect"), + developers = Seq(Developer("tonivade", "Toni Muñoz", "https://github.com/tonivade")) + ) object test extends MavenTests with TestModule.Junit5 with JacocoTestModule {