Skip to content

Commit b90c740

Browse files
committed
Untie from Kotlin versions
1 parent 00acc59 commit b90c740

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
77
val sonatypeUserName: String? by project
88
val sonatypePassword: String? by project
99

10-
val kotlinBaseVersion: String? by project
11-
if (extra.has("kspOnlyVersion") && kotlinBaseVersion != null) {
10+
// kspOnlyVersion is still used by CI to build 2.0.x releases.
11+
if (extra.has("kspOnlyVersion") && !extra.has("kspVersion")) {
1212
val kspOnlyVersion = extra.get("kspOnlyVersion") as String
13-
extra.set("kspVersion", "$kotlinBaseVersion-$kspOnlyVersion")
13+
extra.set("kspVersion", kspOnlyVersion)
1414
}
1515

1616
if (!extra.has("kspVersion")) {

0 commit comments

Comments
 (0)