From c10341d4cdb2824b6a70ac722635388116f6de7d Mon Sep 17 00:00:00 2001 From: ex0ns Date: Sat, 1 May 2021 13:19:09 +0200 Subject: [PATCH] [release] Publish version 0.1.0 (#3) --- README.md | 22 +++++++++++++--------- build.sc | 4 ++-- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5bc2ae2..0ba1731 100644 --- a/README.md +++ b/README.md @@ -8,18 +8,13 @@ A [matrix](https://matrix.org/) client implemented using ZIO. ## Installation -The lib is currently not released on any artifactory, the first version should be out pretty soon. -It is possible to use it by cloning this repository and publishing the jar locally: - -``` -mill __.publishM2Local -mill __.publishLocal -``` - Add the following dependency to your project's build file ```scala -"com.bot4s" %% "zmatrix" % "0.0.1" +// sbt +"com.bot4s" %% "zmatrix" % "0.1.0" +// mill +ivy"com.bot4s::zmatrix:0.1.0" ``` It is also possible to get the latest snapshot from [Snapshot Artifacts][link-sonatypesnapshots] by adding the following @@ -123,6 +118,15 @@ The `examples` package comtains runnable examples for `zmatrix`. Examples can be mill -i examples[_].run ``` +## Building + +A local version of the library can be published by running those two commands: + +``` +mill __.publishM2Local +mill __.publishLocal +``` + ## References The design of the lib was heavily inspired by the work done on [zio-slack](https://github.com/Dapperware/zio-slack/blob/master/README.md). diff --git a/build.sc b/build.sc index 826f781..e987388 100644 --- a/build.sc +++ b/build.sc @@ -6,7 +6,7 @@ import mill.scalalib._ object Versions { val zioMagicVersion = "0.2.3" val zioLoggingVersion = "0.5.8" - val zioVersion = "1.0.3" + val zioVersion = "1.0.7" val sttpVersion = "3.2.3" val circeVersion = "0.13.0" val pureConfigVersion = "0.14.1" @@ -16,7 +16,7 @@ val scalaVersions = List("2.12.13", "2.13.5") trait Publishable extends PublishModule { override def artifactName = s"zmatrix" - override def publishVersion = "0.0.1" + override def publishVersion = "0.1.0" override def pomSettings = PomSettings( description = "Matrix.org API client written using ZIO",