Skip to content

Commit 4037ec8

Browse files
alllexoshai
authored andcommitted
Declaring example dependencies as implementation
Declaring dependencies as `compile` is no longer a best practice in Gradle. [See here](https://docs.gradle.org/current/userguide/java_library_plugin.html). Instead, they should be declared as `implementation`.
1 parent 0e74922 commit 4037ec8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ See the full example in [kotlin-logging-example-maven](https://github.com/MicroU
6565

6666
### Gradle
6767
```Groovy
68-
compile 'io.github.microutils:kotlin-logging:1.12.0'
68+
implementation 'io.github.microutils:kotlin-logging:1.12.0'
6969
```
7070

7171
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/).
@@ -80,7 +80,7 @@ Therefore for jvm library owners it is still recommended to use 1.x, as for the
8080

8181
For example, to use kotlin-logging for jvm in version 2.0.2 add the following gradle dependency:
8282
```Groovy
83-
compile 'io.github.microutils:kotlin-logging-jvm:2.0.2'
83+
implementation 'io.github.microutils:kotlin-logging-jvm:2.0.2'
8484
```
8585

8686
#### Multiplatform
@@ -97,7 +97,7 @@ repositories {
9797
}
9898
9999
dependencies {
100-
compile('io.github.microutils:kotlin-logging-jvm:2.0.0-SNAPSHOT')
100+
implementation('io.github.microutils:kotlin-logging-jvm:2.0.0-SNAPSHOT')
101101
}
102102
```
103103
* The latest snapshot version can be seen in [build.gradle.kts](https://github.com/MicroUtils/kotlin-logging/blob/master/build.gradle.kts) and in [artifactory](https://oss.jfrog.org/artifactory/webapp/#/artifacts/browse/tree/General/oss-snapshot-local/io/github/microutils/kotlin-logging).

0 commit comments

Comments
 (0)