diff --git a/buildSrc/src/main/kotlin/io/spine/gradle/publish/PublicationHandler.kt b/buildSrc/src/main/kotlin/io/spine/gradle/publish/PublicationHandler.kt
index 5a24aafc..2695dbbf 100644
--- a/buildSrc/src/main/kotlin/io/spine/gradle/publish/PublicationHandler.kt
+++ b/buildSrc/src/main/kotlin/io/spine/gradle/publish/PublicationHandler.kt
@@ -152,8 +152,17 @@ sealed class PublicationHandler(
*/
protected fun MavenPublication.copyProjectAttributes() {
groupId = project.group.toString()
- val platformSuffix = artifactId.removePrefix(project.name)
- artifactId = project.artifactId + platformSuffix
+ // Add the proper prefix to the `artifactId`.
+ // The default `artifactId` is either `project.name` or
+ // the `project.name` with the platform suffix of a KMM distribution.
+ artifactId = if (artifactId.startsWith(project.name)) {
+ val platformSuffix = artifactId.removePrefix(project.name)
+ project.artifactId + platformSuffix
+ } else {
+ // This is unlikely case of `artifactId` being set to something unrelated.
+ // We overwrite it with our calculated ID.
+ project.artifactId
+ }
version = project.version.toString()
pom.description.set(project.description)
pom.inceptionYear.set(InceptionYear.value)
@@ -161,7 +170,9 @@ sealed class PublicationHandler(
license {
name.set(LicenseSettings.name)
url.set(LicenseSettings.url)
- distribution.set(LicenseSettings.url)
+ // It's either `"repo"` or `"manual"`.
+ // https://maven.apache.org/ref/3.9.15/maven-model/apidocs/org/apache/maven/model/License.html?utm_source=chatgpt.com#setDistribution(java.lang.String)
+ distribution.set("repo")
}
}
pom.scm {
diff --git a/config b/config
index dd0906d2..c1eb5baa 160000
--- a/config
+++ b/config
@@ -1 +1 @@
-Subproject commit dd0906d28f144289ec2cca5e728e93f7f467624a
+Subproject commit c1eb5baa8897416f839b2dccb8f8b9df82135170
diff --git a/dependencies.md b/dependencies.md
index feb65d3f..4dadf9e7 100644
--- a/dependencies.md
+++ b/dependencies.md
@@ -1,6 +1,6 @@
-# Dependencies of `io.spine:spine-logging-context-tests:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-context-tests:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : org.jetbrains. **Name** : annotations. **Version** : 26.0.2.
@@ -409,14 +409,14 @@
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-fixtures:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-fixtures:2.0.0-SNAPSHOT.417`
## Runtime
## Compile, tests, and tooling
@@ -1176,14 +1176,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:40 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:31 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-grpc-context:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-grpc-context:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -2022,14 +2022,14 @@ This report was generated on **Thu Apr 23 18:15:40 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-jul-backend:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-jul-backend:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -2852,14 +2852,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-jvm-default-platform:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-jvm-default-platform:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -3702,14 +3702,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-jvm-jul-backend-grpc-context:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-jvm-jul-backend-grpc-context:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -4600,14 +4600,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-jvm-jul-backend-std-context:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-jvm-jul-backend-std-context:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -5490,14 +5490,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-jvm-log4j2-backend-std-context:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-jvm-log4j2-backend-std-context:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -6380,14 +6380,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-jvm-slf4j-jdk14-backend-std-context:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-jvm-slf4j-jdk14-backend-std-context:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -7278,14 +7278,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-jvm-slf4j-reload4j-backend-std-context:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-jvm-slf4j-reload4j-backend-std-context:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -8180,14 +8180,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-log4j2-backend:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-log4j2-backend:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -9034,14 +9034,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging:2.0.0-SNAPSHOT.417`
## Runtime
## Compile, tests, and tooling
@@ -9829,14 +9829,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:40 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:31 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine.tools:logging-testlib:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine.tools:logging-testlib:2.0.0-SNAPSHOT.417`
## Runtime
## Compile, tests, and tooling
@@ -10616,14 +10616,14 @@ This report was generated on **Thu Apr 23 18:15:40 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-probe-backend:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-probe-backend:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.google.auto.service. **Name** : auto-service-annotations. **Version** : 1.1.1.
@@ -11470,14 +11470,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-smoke-test:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-smoke-test:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0.
@@ -12368,14 +12368,14 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
-# Dependencies of `io.spine:spine-logging-std-context:2.0.0-SNAPSHOT.416`
+# Dependencies of `io.spine:spine-logging-std-context:2.0.0-SNAPSHOT.417`
## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -13198,6 +13198,6 @@ This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
-This report was generated on **Thu Apr 23 18:15:38 WEST 2026** using
+This report was generated on **Thu Apr 23 18:49:28 WEST 2026** using
[Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under
[Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 31d83b7d..5f1db6ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@ all modules and does not describe the project structure per-subproject.
-->
io.spine
spine-logging
-2.0.0-SNAPSHOT.416
+2.0.0-SNAPSHOT.417
2015
diff --git a/version.gradle.kts b/version.gradle.kts
index db0cb50e..c3a48112 100644
--- a/version.gradle.kts
+++ b/version.gradle.kts
@@ -24,4 +24,4 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-val versionToPublish: String by extra("2.0.0-SNAPSHOT.416")
+val versionToPublish: String by extra("2.0.0-SNAPSHOT.417")