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/src/main/kotlin/io/spine/dependency/local/Base.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ 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.403"
const val version = "2.0.0-SNAPSHOT.404"
const val versionForBuildScript = "2.0.0-SNAPSHOT.404"
const val group = Spine.group
private const val prefix = "spine"
const val libModule = "$prefix-base"
Expand Down
13 changes: 11 additions & 2 deletions buildSrc/src/main/kotlin/io/spine/gradle/publish/PublishingExts.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import java.util.*
import org.gradle.api.InvalidUserDataException
import org.gradle.api.Project
import org.gradle.api.Task
import org.gradle.api.file.DuplicatesStrategy
import org.gradle.api.publish.PublicationContainer
import org.gradle.api.publish.PublishingExtension
import org.gradle.api.publish.maven.MavenPublication
Expand Down Expand Up @@ -248,8 +249,16 @@ fun Project.sourcesJar(): TaskProvider<Jar> = tasks.getOrCreate("sourcesJar") {
description = "Assembles a JAR with Java, Kotlin, and Proto sources from the `main` source set"
dependOnGenerateProto()
archiveClassifier.set("sources")
from(sourceSets["main"].allSource) // Puts Java and Kotlin sources.
from(protoSources()) // Puts Proto sources.
// `allSource` also sees the generated `proto-resources` directory, which bundles
// copies of `.proto` files (this module's own and its dependencies') as runtime resources.
// This behavior starts from Protobuf Gradle Plugin 0.10.0, and it is not expected
// to be changed in the future.
// This is why we do not call `from(protoSources())` in this function any more.
from(sourceSets["main"].allSource)

// Even if there are duplicates in sources, we want only one.
duplicatesStrategy = DuplicatesStrategy.EXCLUDE

exclude("desc.ref", "*.desc") // Exclude descriptor files and the descriptor reference.
}

Expand Down
64 changes: 32 additions & 32 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.397`
# Dependencies of `io.spine.tools:classic-codegen:2.0.0-SNAPSHOT.398`

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

## 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 **Mon Jun 08 15:00:17 WEST 2026** using

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

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

## Runtime
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.22.0.
Expand Down Expand Up @@ -1776,15 +1776,15 @@ This report was generated on **Mon Jun 08 15:00:17 WEST 2026** using
* **Project URL:** [https://github.com/google/gson/gson](https://github.com/google/gson/gson)
* **License:** [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0.txt)

1. **Group** : com.google.errorprone. **Name** : error_prone_annotations. **Version** : 2.41.0.
1. **Group** : com.google.errorprone. **Name** : error_prone_annotations. **Version** : 2.47.0.
* **Project URL:** [https://errorprone.info/error_prone_annotations](https://errorprone.info/error_prone_annotations)
* **License:** [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

1. **Group** : com.google.guava. **Name** : failureaccess. **Version** : 1.0.3.
* **Project URL:** [https://github.com/google/guava/](https://github.com/google/guava/)
* **License:** [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

1. **Group** : com.google.guava. **Name** : guava. **Version** : 33.5.0-jre.
1. **Group** : com.google.guava. **Name** : guava. **Version** : 33.6.0-jre.
* **Project URL:** [https://github.com/google/guava](https://github.com/google/guava)
* **License:** [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

Expand Down Expand Up @@ -1918,7 +1918,7 @@ This report was generated on **Mon Jun 08 15:00:17 WEST 2026** using
* **Project URL:** [https://github.com/google/gson/gson](https://github.com/google/gson/gson)
* **License:** [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0.txt)

1. **Group** : com.google.errorprone. **Name** : error_prone_annotations. **Version** : 2.41.0.
1. **Group** : com.google.errorprone. **Name** : error_prone_annotations. **Version** : 2.47.0.
* **Project URL:** [https://errorprone.info/error_prone_annotations](https://errorprone.info/error_prone_annotations)
* **License:** [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

Expand All @@ -1930,7 +1930,7 @@ This report was generated on **Mon Jun 08 15:00:17 WEST 2026** using
* **Project URL:** [https://github.com/google/guava/](https://github.com/google/guava/)
* **License:** [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

1. **Group** : com.google.guava. **Name** : guava. **Version** : 33.5.0-jre.
1. **Group** : com.google.guava. **Name** : guava. **Version** : 33.6.0-jre.
* **Project URL:** [https://github.com/google/guava](https://github.com/google/guava)
* **License:** [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)

Expand Down Expand Up @@ -2212,14 +2212,14 @@ This report was generated on **Mon Jun 08 15:00:17 WEST 2026** using

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

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

## 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 **Mon Jun 08 15:00:17 WEST 2026** using

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

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

## 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 **Mon Jun 08 15:00:17 WEST 2026** using

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

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

## 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 **Mon Jun 08 15:00:17 WEST 2026** using

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

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

## 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 **Mon Jun 08 15:00:17 WEST 2026** using

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

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

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

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

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

## 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 **Mon Jun 08 15:00:17 WEST 2026** using

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

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

## 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 **Mon Jun 08 15:00:17 WEST 2026** using

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

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

## 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 **Mon Jun 08 15:00:17 WEST 2026** using

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

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

## 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 **Mon Jun 08 15:00:17 WEST 2026** using

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

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

## 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 **Mon Jun 08 15:00:17 WEST 2026** using

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

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

## 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 **Mon Jun 08 15:00:17 WEST 2026** using

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

This report was generated on **Mon Jun 08 15:00:17 WEST 2026** using
This report was generated on **Mon Jun 08 18:51:46 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).
4 changes: 2 additions & 2 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.397</version>
<version>2.0.0-SNAPSHOT.398</version>

<inceptionYear>2015</inceptionYear>

Expand Down Expand Up @@ -170,7 +170,7 @@ all modules and does not describe the project structure per-subproject.
<dependency>
<groupId>io.spine</groupId>
<artifactId>spine-base</artifactId>
<version>2.0.0-SNAPSHOT.400</version>
<version>2.0.0-SNAPSHOT.404</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

package io.spine.tools.psi

import com.intellij.psi.PsiJavaFile
import io.kotest.matchers.nulls.shouldNotBeNull
import io.spine.tools.psi.java.FileSystem
import io.spine.tools.psi.java.topLevelClass
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.397")
val versionToPublish: String by extra("2.0.0-SNAPSHOT.398")
Loading