()
-}
-
// This module configures `spinePublishing` on its own to change a prefix
// specified by the root project.
spinePublishing {
@@ -52,7 +49,7 @@ kotlin {
sourceSets {
val commonMain by getting {
dependencies {
- implementation(Spine.reflect)
+ implementation(Reflect.lib)
}
}
val jvmMain by getting {
diff --git a/logging/src/commonMain/kotlin/io/spine/logging/context/LogLevelMap.kt b/logging/src/commonMain/kotlin/io/spine/logging/context/LogLevelMap.kt
index 8ac80c05e..4352aa613 100644
--- a/logging/src/commonMain/kotlin/io/spine/logging/context/LogLevelMap.kt
+++ b/logging/src/commonMain/kotlin/io/spine/logging/context/LogLevelMap.kt
@@ -1,11 +1,11 @@
/*
- * Copyright 2023, TeamDev. All rights reserved.
+ * Copyright 2025, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * https://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
@@ -58,11 +58,10 @@ public interface LogLevelMap {
public fun merge(other: LogLevelMap): LogLevelMap
/**
- * The builder for a log level map which takes classes and package names
+ * The builder for a log level map, which takes classes and package names
* for setting custom logging levels.
*
- * To set up a [LogLevelMap] using only strings for names, please
- * use the factory method [create].
+ * To set up a [LogLevelMap] using only strings for names, use the factory method [create].
*
* @see create
*/
diff --git a/logging/src/jvmMain/java/io/spine/logging/package-info.java b/logging/src/jvmMain/java/io/spine/logging/package-info.java
index 234631b59..aa0aa3b44 100644
--- a/logging/src/jvmMain/java/io/spine/logging/package-info.java
+++ b/logging/src/jvmMain/java/io/spine/logging/package-info.java
@@ -1,11 +1,11 @@
/*
- * Copyright 2022, TeamDev. All rights reserved.
+ * Copyright 2025, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * https://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
@@ -25,12 +25,12 @@
*/
/**
- * This package provides JVM implementation of Spine Logging API.
+ * This package provides a JVM implementation of Spine Logging API.
*/
@CheckReturnValue
-@ParametersAreNonnullByDefault
+@NullMarked
package io.spine.logging;
import com.google.errorprone.annotations.CheckReturnValue;
-import javax.annotation.ParametersAreNonnullByDefault;
+import org.jspecify.annotations.NullMarked;
diff --git a/logging/src/jvmTest/java/io/spine/logging/given/package-info.java b/logging/src/jvmTest/java/io/spine/logging/given/package-info.java
index d5aa8e1a6..268d5ad8c 100644
--- a/logging/src/jvmTest/java/io/spine/logging/given/package-info.java
+++ b/logging/src/jvmTest/java/io/spine/logging/given/package-info.java
@@ -1,11 +1,11 @@
/*
- * Copyright 2022, TeamDev. All rights reserved.
+ * Copyright 2025, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * https://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
@@ -29,9 +29,9 @@
*/
@CheckReturnValue
-@ParametersAreNonnullByDefault
+@NullMarked
package io.spine.logging.given;
import com.google.errorprone.annotations.CheckReturnValue;
-import javax.annotation.ParametersAreNonnullByDefault;
+import org.jspecify.annotations.NullMarked;
diff --git a/logging/src/jvmTest/java/io/spine/logging/package-info.java b/logging/src/jvmTest/java/io/spine/logging/package-info.java
new file mode 100644
index 000000000..9f00bb38a
--- /dev/null
+++ b/logging/src/jvmTest/java/io/spine/logging/package-info.java
@@ -0,0 +1,39 @@
+/*
+ * Copyright 2025, TeamDev. All rights reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Redistribution and use in source and/or binary forms, with or without
+ * modification, must retain the above copyright notice and the following
+ * disclaimer.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/**
+ * This package tests the JVM implementation of Spine Logging API.
+ *
+ * The purpose of this file is to avoid static analysis warnings
+ * when tools do not see the {@code package-info.java} file
+ * available from the {@code commonMain} source set.
+ */
+@CheckReturnValue
+@NullMarked
+package io.spine.logging;
+
+import com.google.errorprone.annotations.CheckReturnValue;
+import org.jspecify.annotations.NullMarked;
diff --git a/platforms/jvm-default-platform/build.gradle.kts b/platforms/jvm-default-platform/build.gradle.kts
index a3f4e852f..50ab967a4 100644
--- a/platforms/jvm-default-platform/build.gradle.kts
+++ b/platforms/jvm-default-platform/build.gradle.kts
@@ -1,5 +1,5 @@
/*
- * Copyright 2024, TeamDev. All rights reserved.
+ * Copyright 2025, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@
*/
import io.spine.dependency.lib.AutoService
-import io.spine.dependency.local.Spine
+import io.spine.dependency.local.Reflect
import io.spine.gradle.java.disableLinters
plugins {
@@ -34,7 +34,7 @@ plugins {
}
dependencies {
- implementation(Spine.reflect)
+ implementation(Reflect.lib)
implementation(project(":middleware"))
implementation(project(":jul-backend"))
testImplementation(project(":middleware", configuration = "testArtifacts"))
@@ -59,8 +59,9 @@ java {
*/
afterEvaluate {
// `kaptKotlin` task is created after the configuration phase,
- // so we have to use `afterEvaluate` block.
+ // so we have to use the `afterEvaluate` block.
val kaptKotlin by tasks.existing
+ @Suppress("unused")
val dokkaHtml by tasks.existing {
dependsOn(kaptKotlin)
}
diff --git a/platforms/jvm-default-platform/src/main/java/io/spine/logging/backend/system/DefaultPlatform.java b/platforms/jvm-default-platform/src/main/java/io/spine/logging/backend/system/DefaultPlatform.java
index b56075fff..0c3427a3c 100644
--- a/platforms/jvm-default-platform/src/main/java/io/spine/logging/backend/system/DefaultPlatform.java
+++ b/platforms/jvm-default-platform/src/main/java/io/spine/logging/backend/system/DefaultPlatform.java
@@ -1,11 +1,11 @@
/*
- * Copyright 2016, The Flogger Authors; 2023, TeamDev. All rights reserved.
+ * Copyright 2025, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * https://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
@@ -32,7 +32,7 @@
import io.spine.logging.flogger.backend.LoggerBackend;
import io.spine.logging.flogger.backend.Platform;
import io.spine.logging.flogger.context.ContextDataProvider;
-import org.checkerframework.checker.nullness.qual.Nullable;
+import org.jspecify.annotations.Nullable;
import java.util.ArrayList;
import java.util.List;
diff --git a/pom.xml b/pom.xml
index a0afde217..a1306fabe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,30 +1,4 @@
-
-
4.0.0
io.spine
spine-logging
-2.0.0-SNAPSHOT.242
+2.0.0-SNAPSHOT.250
2015
@@ -49,40 +23,52 @@ all modules and does not describe the project structure per-subproject.
+
+ com.fasterxml.jackson
+ jackson-bom
+ 2.18.3
+ compile
+
com.google.guava
guava
- 32.1.3-jre
+ 33.4.8-jre
compile
com.google.protobuf
protobuf-java
- 3.25.1
+ 4.31.0
compile
com.google.protobuf
protobuf-java-util
- 3.25.1
+ 4.31.0
compile
com.google.protobuf
protobuf-kotlin
- 3.25.1
+ 4.31.0
compile
io.grpc
grpc-api
- 1.59.0
+ null
compile
- io.spine
- spine-logging
- 2.0.0-SNAPSHOT.240
+ io.grpc
+ grpc-bom
+ 1.72.0
+ compile
+
+
+ org.jspecify
+ jspecify
+ 1.0.0
compile
@@ -100,7 +86,7 @@ all modules and does not describe the project structure per-subproject.
com.google.guava
guava-testlib
- 32.1.3-jre
+ 33.4.8-jre
test
@@ -109,28 +95,22 @@ all modules and does not describe the project structure per-subproject.
2.20.0
test
-
- org.apiguardian
- apiguardian-api
- 1.1.2
- test
-
org.junit-pioneer
junit-pioneer
- 2.0.1
+ 2.3.0
test
org.junit.jupiter
junit-jupiter-api
- 5.10.0
+ 5.13.2
test
org.junit.jupiter
junit-jupiter-params
- 5.10.0
+ 5.13.2
test
@@ -153,18 +133,18 @@ all modules and does not describe the project structure per-subproject.
com.google.errorprone
error_prone_annotations
- 2.23.0
+ 2.36.0
provided
com.google.errorprone
error_prone_core
- 2.23.0
+ 2.36.0
com.google.errorprone
error_prone_type_annotations
- 2.23.0
+ 2.36.0
provided
@@ -180,7 +160,7 @@ all modules and does not describe the project structure per-subproject.
io.gitlab.arturbosch.detekt
detekt-cli
- 1.23.0
+ 1.23.8
io.kotest
@@ -215,23 +195,22 @@ all modules and does not describe the project structure per-subproject.
io.spine.tools
spine-dokka-extensions
- 2.0.0-SNAPSHOT.4
+ 2.0.0-SNAPSHOT.7
io.spine.tools
spine-testlib
- 2.0.0-SNAPSHOT.184
+ 2.0.0-SNAPSHOT.202
- javax.annotation
- javax.annotation-api
- 1.3.2
- provided
+ net.sourceforge.pmd
+ pmd-ant
+ 7.12.0
net.sourceforge.pmd
pmd-java
- 6.55.0
+ 7.12.0
org.checkerframework
@@ -242,93 +221,108 @@ all modules and does not describe the project structure per-subproject.
org.jacoco
org.jacoco.agent
- 0.8.12
+ 0.8.13
org.jacoco
org.jacoco.ant
- 0.8.12
+ 0.8.13
- org.jetbrains.dokka
- analysis-kotlin-descriptors
- 1.9.20
+ org.jacoco
+ org.jacoco.report
+ 0.8.13
org.jetbrains.dokka
- dokka-base
- 1.9.20
+ all-modules-page-plugin
+ 2.0.0
org.jetbrains.dokka
- dokka-core
- 1.9.20
+ analysis-kotlin-descriptors
+ 2.0.0
org.jetbrains.dokka
- gfm-plugin
- 1.9.20
+ dokka-base
+ 2.0.0
org.jetbrains.dokka
- javadoc-plugin
- 1.9.20
+ dokka-core
+ 2.0.0
org.jetbrains.dokka
- jekyll-plugin
- 1.9.20
+ kotlin-as-java-plugin
+ 2.0.0
org.jetbrains.dokka
- kotlin-as-java-plugin
- 1.9.20
+ templating-plugin
+ 2.0.0
org.jetbrains.kotlin
kotlin-annotation-processing-gradle
- 1.9.22
+ 2.1.21
+
+
+ org.jetbrains.kotlin
+ kotlin-bom
+ 2.1.21
org.jetbrains.kotlin
kotlin-build-tools-impl
- 1.9.22
+ 2.1.21
org.jetbrains.kotlin
kotlin-compiler-embeddable
- 1.9.22
+ 2.1.21
org.jetbrains.kotlin
kotlin-klib-commonizer-embeddable
- 1.9.22
+ 2.1.21
org.jetbrains.kotlin
kotlin-scripting-compiler-embeddable
- 1.9.22
+ 2.1.21
org.jetbrains.kotlin
kotlin-stdlib
- 1.9.23
+ 2.1.21
org.jetbrains.kotlin
kotlin-test-annotations-common
- 1.9.22
+ null
org.jetbrains.kotlin
kotlin-test-common
- 1.9.22
+ null
+
+
+ org.jetbrains.kotlinx
+ kotlinx-coroutines-bom
+ 1.10.2
+
+
+ org.junit
+ junit-bom
+ 5.13.2
org.junit.jupiter
junit-jupiter-engine
- 5.10.0
+ 5.13.2
-
+