Skip to content

Commit

Permalink
remove 1.x links from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
oshai committed Jun 14, 2022
1 parent 4c61b3d commit 33a778c
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,36 +61,16 @@ In short, if you just want to log statements to stdout, it's possible to add the
<version>2.1.20</version>
</dependency>
```
or
```xml
<dependency>
<groupId>io.github.microutils</groupId>
<artifactId>kotlin-logging</artifactId>
<version>1.12.5</version>
</dependency>
```
See the full example in [kotlin-logging-example-maven](https://github.com/MicroUtils/kotlin-logging-example-maven).

### Gradle
```Groovy
implementation 'io.github.microutils:kotlin-logging-jvm:2.1.20'
```
or
```Groovy
implementation 'io.github.microutils:kotlin-logging:1.12.5'
```

Alternatively, download the JAR from [github](https://github.com/MicroUtils/kotlin-logging/releases/latest) or [bintray](https://dl.bintray.com/microutils/kotlin-logging/io/github/microutils/kotlin-logging/) or [maven-central](http://repo1.maven.org/maven2/io/github/microutils/kotlin-logging/).

### Version 2.x vs 1.x

**There are currently two supported branches: 1.x and 2.x.**

The main incompatible change is in the artifact names. In version `1.x` the jvm artifact is called `kotlin-logging` while in version `2.x` it's called `kotlin-logging-jvm` to comply with the multiplatform schema. In addition, version 2.x supports only Kotlin >= 1.4.

Therefore, for jvm library owners it is still recommended to use 1.x, as for the rest of the use cases 2.x is recommended.

#### Multiplatform
### Multiplatform

An experimental common & JS & linux-x64 support is available.
More information is available on the [wiki](https://github.com/MicroUtils/kotlin-logging/wiki/Multiplatform-support) and issues [#21](https://github.com/MicroUtils/kotlin-logging/issues/21) [#45](https://github.com/MicroUtils/kotlin-logging/issues/45).
Expand Down

0 comments on commit 33a778c

Please sign in to comment.