Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ package io.spine.dependency.local
* See [`SpineEventEngine/ProtoTap`](https://github.com/SpineEventEngine/ProtoTap/).
*/
@Suppress(
"unused" /* Some subprojects do not use ProtoData directly. */,
"unused" /* Some subprojects do not use ProtoTap directly. */,
"ConstPropertyName" /* We use custom convention for artifact properties. */,
"MemberVisibilityCanBePrivate" /* The properties are used directly by other subprojects. */,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ object Validation {
*/
const val version = "2.0.0-SNAPSHOT.446"

/**
* The last version of Validation compatible with ProtoData.
*/
const val pdCompatibleVersion = "2.0.0-SNAPSHOT.342"

const val group = Spine.toolsGroup
private const val prefix = "validation"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ object LicenseReporter {
excludeGroups = arrayOf(
Spine.group,
"io.spine.gcloud",
"io.spine.protodata",
Spine.toolsGroup,
"io.spine.validation"
)
Expand Down
56 changes: 28 additions & 28 deletions docs/dependencies/dependencies.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# Dependencies of `io.spine.tools:classic-codegen:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:classic-codegen:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -828,14 +828,14 @@

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:35 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:gradle-plugin-api:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:gradle-plugin-api:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.0.
Expand Down Expand Up @@ -1734,14 +1734,14 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:35 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:gradle-plugin-api-test-fixtures:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:gradle-plugin-api-test-fixtures:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.0.
Expand Down Expand Up @@ -2212,14 +2212,14 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:09 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:34 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:gradle-root-plugin:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:gradle-root-plugin:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -3070,14 +3070,14 @@ This report was generated on **Sat Jun 06 22:43:09 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:35 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:intellij-platform:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:intellij-platform:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : be.cyberelf.nanoxml. **Name** : nanoxml. **Version** : 2.2.3.
Expand Down Expand Up @@ -4151,14 +4151,14 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:35 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:intellij-platform-java:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:intellij-platform-java:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : be.cyberelf.nanoxml. **Name** : nanoxml. **Version** : 2.2.3.
Expand Down Expand Up @@ -5930,14 +5930,14 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:37 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:jvm-tool-plugins:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:jvm-tool-plugins:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -6780,14 +6780,14 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:35 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:jvm-tools:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:jvm-tools:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : org.jetbrains. **Name** : annotations. **Version** : 26.1.0.
Expand Down Expand Up @@ -7547,14 +7547,14 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:36 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:plugin-base:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:plugin-base:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -8405,14 +8405,14 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:37 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:plugin-testlib:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:plugin-testlib:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : com.google.auto.value. **Name** : auto-value-annotations. **Version** : 1.11.1.
Expand Down Expand Up @@ -9367,14 +9367,14 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:37 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:protobuf-setup-plugins:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:protobuf-setup-plugins:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -10237,14 +10237,14 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:37 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:psi:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:psi:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : be.cyberelf.nanoxml. **Name** : nanoxml. **Version** : 2.2.3.
Expand Down Expand Up @@ -11345,14 +11345,14 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:37 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:psi-java:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:psi-java:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : be.cyberelf.nanoxml. **Name** : nanoxml. **Version** : 2.2.3.
Expand Down Expand Up @@ -13167,14 +13167,14 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:38 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:tool-base:2.0.0-SNAPSHOT.395`
# Dependencies of `io.spine.tools:tool-base:2.0.0-SNAPSHOT.396`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -14054,6 +14054,6 @@ This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using

The dependencies distributed under several licenses, are used according their commercial-use-friendly license.

This report was generated on **Sat Jun 06 22:43:10 WEST 2026** using
This report was generated on **Sun Jun 07 19:17:37 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).
12 changes: 11 additions & 1 deletion docs/dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ all modules and does not describe the project structure per-subproject.
-->
<groupId>io.spine.tools</groupId>
<artifactId>tool-base</artifactId>
<version>2.0.0-SNAPSHOT.395</version>
<version>2.0.0-SNAPSHOT.396</version>

<inceptionYear>2015</inceptionYear>

Expand Down Expand Up @@ -408,6 +408,11 @@ all modules and does not describe the project structure per-subproject.
<artifactId>templating-plugin</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>abi-tools</artifactId>
<version>2.3.21</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-assignment-compiler-plugin-embeddable</artifactId>
Expand All @@ -429,6 +434,11 @@ all modules and does not describe the project structure per-subproject.
<version>2.3.21</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-klib-commonizer-embeddable</artifactId>
<version>2.3.21</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-reflect</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
package io.spine.tools.jvm.jar

import com.google.common.truth.Truth.assertWithMessage
import io.kotest.matchers.Matcher
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNot
import io.kotest.matchers.string.beEmpty
Expand Down Expand Up @@ -61,9 +62,9 @@ class KManifestSpec {

@Test
fun `load from a JAR for a class packaged in it`() {
// Guava is a binary dependency on the test classpath, so its classes
// Kotest is a binary dependency on the test classpath, so its classes
// are loaded via a `JarURLConnection`.
val cls = com.google.common.base.Preconditions::class.java
val cls = Matcher::class.java

val manifest = KManifest.load(cls)

Expand Down
4 changes: 1 addition & 3 deletions tool-base/src/main/java/io/spine/tools/code/Indent.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2025, TeamDev. All rights reserved.
* 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.
Expand Down Expand Up @@ -130,7 +130,6 @@ public int level() {
/**
* Obtains an instance shifted to the right by one level.
*/
@SuppressWarnings("unused") /* Part of the public API. */
public Indent shiftedRight() {
return new Indent(size, level + 1);
}
Expand All @@ -141,7 +140,6 @@ public Indent shiftedRight() {
* @throws IllegalStateException
* if this indentation is already at the zero column
*/
@SuppressWarnings("unused") /* Part of the public API. */
public Indent shiftedLeft() {
checkState(level > 0, "Already at zero. Cannot shift to the left more.");
return new Indent(size, level - 1);
Expand Down
5 changes: 2 additions & 3 deletions tool-base/src/main/java/io/spine/tools/dart/fs/DartFile.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* Copyright 2022, TeamDev. All rights reserved.
* 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
*
* 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
Expand Down Expand Up @@ -45,7 +45,6 @@ private DartFile(Path path) {
/**
* Reads the file from the local file system.
*/
@SuppressWarnings("unused") /* Part of the public API. */
public static DartFile read(Path path) {
checkNotNull(path);
var file = new DartFile(path);
Expand Down
Loading
Loading