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
4 changes: 2 additions & 2 deletions buildSrc/quality/pmd.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>

<!--
~ 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 @@ -60,10 +60,10 @@
<rule ref="category/java/codestyle.xml/ControlStatementBraces"/>
<rule ref="category/java/codestyle.xml/ExtendsObject"/>
<rule ref="category/java/codestyle.xml/FieldDeclarationsShouldBeAtStartOfClass"/>
<rule ref="category/java/codestyle.xml/GenericsNaming"/>
<rule ref="category/java/codestyle.xml/MethodNamingConventions"/>
<rule ref="category/java/codestyle.xml/NoPackage"/>
<rule ref="category/java/codestyle.xml/PackageCase"/>
<rule ref="category/java/codestyle.xml/TypeParameterNamingConventions"/>
<rule ref="category/java/codestyle.xml/UnnecessaryFullyQualifiedName"/>
<rule ref="category/java/codestyle.xml/UnnecessaryReturn"/>

Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/io/spine/dependency/local/Base.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ package io.spine.dependency.local
@Suppress("ConstPropertyName", "unused")
object Base {
const val version = "2.0.0-SNAPSHOT.400"
const val versionForBuildScript = "2.0.0-SNAPSHOT.400"
const val versionForBuildScript = "2.0.0-SNAPSHOT.403"
const val group = Spine.group
private const val prefix = "spine"
const val libModule = "$prefix-base"
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.396`
# Dependencies of `io.spine.tools:classic-codegen:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:35 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:gradle-plugin-api:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:35 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:35 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:gradle-plugin-api-test-fixtures:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:35 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:34 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:gradle-root-plugin:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:34 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:35 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:intellij-platform:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:35 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:35 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:intellij-platform-java:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:35 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:37 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:jvm-tool-plugins:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:37 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:35 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:jvm-tools:2.0.0-SNAPSHOT.397`

## Runtime
1. **Group** : org.jetbrains. **Name** : annotations. **Version** : 26.1.0.
Expand Down Expand Up @@ -7547,14 +7547,14 @@ This report was generated on **Sun Jun 07 19:17:35 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:36 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:plugin-base:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:36 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:37 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:plugin-testlib:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:37 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:37 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:protobuf-setup-plugins:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:37 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:37 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:psi:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:37 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:37 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:psi-java:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:37 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:38 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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.396`
# Dependencies of `io.spine.tools:tool-base:2.0.0-SNAPSHOT.397`

## 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 **Sun Jun 07 19:17:38 WEST 2026** using

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

This report was generated on **Sun Jun 07 19:17:37 WEST 2026** using
This report was generated on **Mon Jun 08 15:00:17 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: 1 addition & 11 deletions 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.396</version>
<version>2.0.0-SNAPSHOT.397</version>

<inceptionYear>2015</inceptionYear>

Expand Down Expand Up @@ -408,11 +408,6 @@ 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 @@ -434,11 +429,6 @@ 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 @@ -45,7 +45,7 @@ class GradleTaskTest {
@Test
fun `create an instance from an existing Gradle task`() {
val project = ProjectBuilder.builder().build()
val task = project.tasks.create("existingTask")
val task = project.tasks.register("existingTask").get()

val gradleTask = GradleTask.from(task)

Expand All @@ -58,16 +58,16 @@ class GradleTaskTest {
@Test
fun `provide a string representation`() {
val project = ProjectBuilder.builder().build()
val task = project.tasks.create("aTask")
val task = project.tasks.register("aTask").get()

GradleTask.from(task).toString() shouldContain "GradleTask"
}

@Test
fun `support equality`() {
val project = ProjectBuilder.builder().build()
val taskA = project.tasks.create("taskA")
val taskB = project.tasks.create("taskB")
val taskA = project.tasks.register("taskA").get()
val taskB = project.tasks.register("taskB").get()

EqualsTester()
.addEqualityGroup(GradleTask.from(taskA), GradleTask.from(taskA))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ internal class TaskDependenciesSpec {
@BeforeEach
fun setUp() {
val project = ProjectBuilder.builder().build()
ontoTask = project.tasks.create("ontoTask")
task = project.tasks.create("dependent")
ontoTask = project.tasks.register("ontoTask").get()
task = project.tasks.register("dependent").get()
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ internal class PsiElementExtsSpec {
* to a member of `PsiFile`.
*/
private fun loadClass(tempDir: Path) =
(FileSystem.load(tempDir.resolve("Stub.java").apply {
FileSystem.load(tempDir.resolve("Stub.java").apply {
writeText("class Stub {}")
Comment on lines 49 to 53
}) as PsiJavaFile).topLevelClass
}).topLevelClass

@Test
fun `obtain the virtual file of an element`(@TempDir tempDir: Path) {
Expand Down
2 changes: 1 addition & 1 deletion version.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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.396")
val versionToPublish: String by extra("2.0.0-SNAPSHOT.397")
Loading