aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2021-08-30 01:45:26 -0700
committerDanny Lin <danny@kdrag0n.dev>2021-08-30 01:45:26 -0700
commit12a1aed798547050a9b7fb751ea5194d3ac2193b (patch)
tree34e8c1ca40df6c7c6322c8375c4aa6c66b7b78b2
parenta4b215101a6d418a5da0ffc8564c33f7eab15849 (diff)
readme: Add Maven Central version badge
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 09ebacd..9aa081f 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,9 @@ Color.kt is a modern color science library for Kotlin Multiplatform and Java. It
## Usage
-Add this library as a dependency:
+![Latest version on Maven Central](https://img.shields.io/maven-central/v/dev.kdrag0n/colorkt)
+
+Add this library as a dependency and replace `VERSION` with the latest version above:
```groovy
repositories {
@@ -32,7 +34,7 @@ repositories {
}
dependencies {
- implementation 'dev.kdrag0n:colorkt:1.0.0'
+ implementation 'dev.kdrag0n:colorkt:VERSION'
}
```
@@ -44,7 +46,7 @@ repositories {
}
dependencies {
- implementation("dev.kdrag0n:colorkt:1.0.0")
+ implementation("dev.kdrag0n:colorkt:VERSION")
}
```