From 8766f4a37641888be3c79a9d6e4794fa0de42b00 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 19 Aug 2026 19:22:45 +0100 Subject: [PATCH 1/3] Add `settings.gradle.kts` This repository had no settings file, so Gradle derived the root project name from the directory and searched parent directories for one. Checking `config` out as a submodule of a superproject that has its own settings file -- such as `SpineEventEngine/summit` -- made Gradle bind this directory to that build: Project directory '.../summit/config' is not part of the build defined by settings file '.../summit/settings.gradle.kts'. CI was unaffected, since it checks the repository out standalone, but the build could not be run from inside such a superproject. `rootProject.name` repeats the name Gradle previously derived, so nothing else about the build changes. Co-Authored-By: Claude Opus 5 --- settings.gradle.kts | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 settings.gradle.kts diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 00000000..54f56f45 --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,39 @@ +/* + * Copyright 2026, 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. + */ + +/** + * Anchors this build so that Gradle does not search parent directories for + * a settings file. + * + * Without it, checking `config` out inside a superproject that has its own + * settings file (such as `SpineEventEngine/summit`) makes Gradle bind this + * directory to that build and fail with "is not part of the build defined by + * settings file ...". + * + * The name matches the one Gradle previously derived from the project + * directory, so nothing else about the build changes. + */ +rootProject.name = "config" From 82fe60dd2e76fcd363cb983574f7d3a600c065a2 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 19 Aug 2026 19:37:47 +0100 Subject: [PATCH 2/3] Bump `PalantirJavaFormat` and `ToolBase` * `PalantirJavaFormat` 2.91.0 -> 2.97.0, the current release on Maven Central. The `compiler` repository had already bumped to 2.97.0 locally, so `./config/pull` was rolling that value backward there. * `ToolBase` 2.0.0-SNAPSHOT.420 -> .421, published by tool-base#190. Consumer repositories migrating off the retired `tool-base` artifact need `.421`, and had to re-pin it by hand after every pull while this repository still shipped `.420`. `dogfoodingVersion` stays at `.410`, and the KDoc on `ToolBase.lib` keeps naming `.420` -- that records when the artifact stopped being published, which does not change. Co-Authored-By: Claude Opus 5 --- .../main/kotlin/io/spine/dependency/lib/PalantirJavaFormat.kt | 2 +- buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/kotlin/io/spine/dependency/lib/PalantirJavaFormat.kt b/buildSrc/src/main/kotlin/io/spine/dependency/lib/PalantirJavaFormat.kt index 911c4775..b8ec0f96 100644 --- a/buildSrc/src/main/kotlin/io/spine/dependency/lib/PalantirJavaFormat.kt +++ b/buildSrc/src/main/kotlin/io/spine/dependency/lib/PalantirJavaFormat.kt @@ -36,7 +36,7 @@ import io.spine.dependency.Dependency object PalantirJavaFormat : Dependency() { override val group = "com.palantir.javaformat" - override val version = "2.91.0" + override val version = "2.97.0" override val modules: List = listOf("$group:palantir-java-format") val lib = artifact(modules[0]) diff --git a/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt b/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt index fef4c34d..f685cc84 100644 --- a/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt +++ b/buildSrc/src/main/kotlin/io/spine/dependency/local/ToolBase.kt @@ -37,7 +37,7 @@ package io.spine.dependency.local @Suppress("ConstPropertyName", "unused") object ToolBase { const val group = Spine.toolsGroup - const val version = "2.0.0-SNAPSHOT.420" + const val version = "2.0.0-SNAPSHOT.421" const val dogfoodingVersion = "2.0.0-SNAPSHOT.410" /** From 17ef4dbefd1f2c17f283a6447b50284a77fc907f Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 19 Aug 2026 20:11:49 +0100 Subject: [PATCH 3/3] Declare `jackson-jr-objects` and `jackson-module-kotlin` under `JacksonV2` The IntelliJ Platform brings both artifacts on the Jackson 2.x line, and they clash with the versions the project resolves. `JacksonV2` declared neither, so consumers had to force them through string literals repeating the coordinates at every call site. * `JacksonV2.Junior.objects` mirrors `Jackson.Junior.objects` on the 2.x line. * `JacksonV2.Module.kotlin` mirrors `Jackson.moduleKotlin`. Both are added to their objects' `modules`, so `artifacts`, `artifact(module)`, and `forceArtifacts(...)` pick them up and callers get the version applied for them. Co-Authored-By: Claude Opus 5 --- .../kotlin/io/spine/dependency/lib/JacksonV2.kt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/io/spine/dependency/lib/JacksonV2.kt b/buildSrc/src/main/kotlin/io/spine/dependency/lib/JacksonV2.kt index 1a2d62bf..42162283 100644 --- a/buildSrc/src/main/kotlin/io/spine/dependency/lib/JacksonV2.kt +++ b/buildSrc/src/main/kotlin/io/spine/dependency/lib/JacksonV2.kt @@ -102,6 +102,19 @@ object JacksonV2 : DependencyWithBom() { val parameterNames = "$group:jackson-module-parameter-names" - override val modules = listOf(parameterNames) + // https://github.com/FasterXML/jackson-module-kotlin/releases + val kotlin = "$group:jackson-module-kotlin" + + override val modules = listOf(parameterNames, kotlin) + } + + // https://github.com/FasterXML/jackson-jr/tree/2.x + object Junior : Dependency() { + override val version = JacksonV2.version + override val group = "$groupPrefix.jr" + + val objects = "$group:jackson-jr-objects" + + override val modules = listOf(objects) } }