Skip to content

Commit

Permalink
[release] Publish version 0.1.0 (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
ex0ns authored May 1, 2021
1 parent 1a67992 commit c10341d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
22 changes: 13 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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).
Expand Down
4 changes: 2 additions & 2 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
Expand Down

0 comments on commit c10341d

Please sign in to comment.