Skip to content

Commit ac76d64

Browse files
committed
Release version 3.0.0-rc
This release changes the maven coordinates.
1 parent e5086a2 commit ac76d64

File tree

5 files changed

+15
-14
lines changed

5 files changed

+15
-14
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,17 @@ Clikt is distributed through [Maven Central](https://search.maven.org/artifact/c
7878

7979
```groovy
8080
dependencies {
81-
implementation("com.github.ajalt:clikt:2.8.0")
81+
implementation("com.github.ajalt.clikt:clikt:3.0.0-rc")
8282
}
8383
```
8484

85-
#### Multiplatform
85+
###### In version 3.0, the maven coordinates changed. Make sure you're using the new coordinates if you're updating from an older version.
8686

87-
For multiplatform projects, use `"com.github.ajalt:clikt-multiplatform:$cliktVersion"` instead.
88-
You'll need to use Gradle 6 or newer.
87+
#### Multiplatform
8988

9089
Clikt supports the following targets: `jvm`, `mingwX64`, `linuxX64`, `macosX64`, and `js` (for both
9190
NodeJS and Browsers). [See the docs](https://ajalt.github.io/clikt/advanced/#multiplatform-support) for more
92-
information about functionality supported on each target.
91+
information about functionality supported on each target. You'll need to use Gradle 6 or newer.
9392

9493
#### Snapshots
9594

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
}
99

1010
allprojects {
11-
group = "com.github.ajalt"
11+
group = "com.github.ajalt.clikt"
1212
version = getPublishVersion()
1313

1414
repositories {

clikt/build.gradle.kts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,6 @@ publishing {
131131
}
132132
}
133133

134-
publications {
135-
// Keep the old publication name for the JVM target
136-
(getByName("jvm") as MavenPublication).artifactId = "clikt"
137-
(getByName("kotlinMultiplatform") as MavenPublication).artifactId = "clikt-multiplatform"
138-
}
139-
140-
141134
repositories {
142135
val releaseUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
143136
val snapshotUrl = uri("https://oss.sonatype.org/content/repositories/snapshots")

docs/migration.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
## Upgrading to 3.0
44

5+
### Maven Coordinates
6+
7+
Clikt's Maven groupId changed from `com.github.ajalt` to `com.github.ajalt.clikt`. So the full
8+
coordinate is now `com.github.ajalt.clikt:clikt:3.0.0`.
9+
10+
With the new Multiplatform plugin in Kotlin 1.4, there is no longer a separate `clikt-multiplatform`
11+
artifact. You can use `com.github.ajalt.clikt:clikt:3.0.0` for both JVM-only and Multiplatform projects.
12+
13+
514
### Environment variable splitting
615

716
There used to be an `envvarSplit` parameter to `option()` and its `convert()` that would split

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION_NAME=2.8.0
1+
VERSION_NAME=3.0.0-rc
22

33

44
kotlin.native.ignoreDisabledTargets=true

0 commit comments

Comments
 (0)