From 2451888241414643357df7c76f26630c6e7e4481 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 15:51:31 +0100 Subject: [PATCH 01/14] Bump version -> `2.0.0-SNAPSHOT.378` --- version.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.gradle.kts b/version.gradle.kts index 966c8356..d0cda3a5 100644 --- a/version.gradle.kts +++ b/version.gradle.kts @@ -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.377") +val versionToPublish: String by extra("2.0.0-SNAPSHOT.378") From 644a674b606dc1d691d4b2d9ee36e6a14c111a18 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 15:52:45 +0100 Subject: [PATCH 02/14] Make the `ProtobufTaskName` class back final ...concluding #119. --- .../spine/tools/protobuf/gradle/ProtobufTaskName.kt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/protobuf-setup-plugins/src/main/kotlin/io/spine/tools/protobuf/gradle/ProtobufTaskName.kt b/protobuf-setup-plugins/src/main/kotlin/io/spine/tools/protobuf/gradle/ProtobufTaskName.kt index ab9c0180..ac781dd7 100644 --- a/protobuf-setup-plugins/src/main/kotlin/io/spine/tools/protobuf/gradle/ProtobufTaskName.kt +++ b/protobuf-setup-plugins/src/main/kotlin/io/spine/tools/protobuf/gradle/ProtobufTaskName.kt @@ -33,15 +33,9 @@ import io.spine.tools.gradle.task.TaskWithSourceSetName /** * Names of Gradle tasks defined by the Protobuf Gradle plugin. * - * ### API Note - * - * The class is made open only to support package migration of - * [io.spine.tools.gradle.task.ProtobufTaskName], which is deprecated in favor of - * this one. Once the deprecated class is removed, this class should become final. - * * @see Protobuf Gradle plugin */ -public open class ProtobufTaskName(value: String, ssn: SourceSetName) : +public class ProtobufTaskName(value: String, ssn: SourceSetName) : TaskWithSourceSetName(value, ssn) { public companion object { @@ -60,7 +54,7 @@ public open class ProtobufTaskName(value: String, ssn: SourceSetName) : * Users should be conscious and cautious when depending on it. */ @JvmField - public val generateProto: TaskName = generateProto(SourceSetName.Companion.main) + public val generateProto: TaskName = generateProto(SourceSetName.main) /** * Generates test code from Protobuf. @@ -69,6 +63,6 @@ public open class ProtobufTaskName(value: String, ssn: SourceSetName) : * Users should be conscious and cautious when depending on it. */ @JvmField - public val generateTestProto: TaskName = generateProto(SourceSetName.Companion.test) + public val generateTestProto: TaskName = generateProto(SourceSetName.test) } } From 1da4325aa6a0000bd626587f942b7738245caab2 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 15:53:25 +0100 Subject: [PATCH 03/14] Optimise imports and address KDoc grammar --- .../tools/protobuf/gradle/plugin/GeneratedSourcePlugin.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protobuf-setup-plugins/src/main/kotlin/io/spine/tools/protobuf/gradle/plugin/GeneratedSourcePlugin.kt b/protobuf-setup-plugins/src/main/kotlin/io/spine/tools/protobuf/gradle/plugin/GeneratedSourcePlugin.kt index bf42262e..6be0f0ad 100644 --- a/protobuf-setup-plugins/src/main/kotlin/io/spine/tools/protobuf/gradle/plugin/GeneratedSourcePlugin.kt +++ b/protobuf-setup-plugins/src/main/kotlin/io/spine/tools/protobuf/gradle/plugin/GeneratedSourcePlugin.kt @@ -39,7 +39,6 @@ import io.spine.tools.protobuf.gradle.plugin.GeneratedSubdir.KOTLIN import io.spine.tools.resolve import java.io.File import java.nio.file.Path -import kotlin.io.path.createDirectories import org.gradle.api.Project import org.gradle.api.file.SourceDirectorySet import org.gradle.api.tasks.SourceSet @@ -47,7 +46,7 @@ import org.gradle.plugins.ide.idea.GenerateIdeaModule import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask /** - * A Gradle project plugin that configures Protobuf compilation process to + * A Gradle project plugin that configures the Protobuf compilation process to * put the resulting output to the `generated` directory under the project root. * * The plugin does the following: @@ -196,7 +195,8 @@ public fun GenerateProtoTask.setupKotlinCompile() { } /** - * Ensures the generated dirs exist before IDEA module is created, so they can be added as sources. + * Ensures the generated dirs exist before an IDEA module is created, + * so they can be added as sources. */ @Internal context(_: GeneratedDirectoryContext) From b780b7754bf1d7d20daa17824b002e90392c72bc Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 15:54:41 +0100 Subject: [PATCH 04/14] Update dependency reports --- dependencies.md | 56 ++++++++++++++++++++++++------------------------- pom.xml | 2 +- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/dependencies.md b/dependencies.md index c34258b4..6bbda8f8 100644 --- a/dependencies.md +++ b/dependencies.md @@ -1,6 +1,6 @@ -# Dependencies of `io.spine.tools:classic-codegen:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:classic-codegen:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -839,14 +839,14 @@ The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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:gradle-plugin-api:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:gradle-plugin-api:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0. @@ -1752,14 +1752,14 @@ This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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:gradle-plugin-api-test-fixtures:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:gradle-plugin-api-test-fixtures:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.20.0. @@ -2230,14 +2230,14 @@ This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:36 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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-root-plugin:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:gradle-root-plugin:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -3095,14 +3095,14 @@ This report was generated on **Mon Apr 20 20:36:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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:intellij-platform:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:intellij-platform:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : be.cyberelf.nanoxml. **Name** : nanoxml. **Version** : 2.2.3. @@ -4183,14 +4183,14 @@ This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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:intellij-platform-java:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:intellij-platform-java:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : be.cyberelf.nanoxml. **Name** : nanoxml. **Version** : 2.2.3. @@ -5969,14 +5969,14 @@ This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:36 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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:jvm-tool-plugins:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:jvm-tool-plugins:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -6826,14 +6826,14 @@ This report was generated on **Mon Apr 20 20:36:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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:jvm-tools:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:jvm-tools:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : org.jetbrains. **Name** : annotations. **Version** : 26.0.2. @@ -7600,14 +7600,14 @@ This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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.377` +# Dependencies of `io.spine.tools:plugin-base:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -8465,14 +8465,14 @@ This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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-testlib:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:plugin-testlib:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : com.google.auto.value. **Name** : auto-value-annotations. **Version** : 1.10.2. @@ -9434,14 +9434,14 @@ This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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:protobuf-setup-plugins:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:protobuf-setup-plugins:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -10311,14 +10311,14 @@ This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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:psi:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:psi:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : be.cyberelf.nanoxml. **Name** : nanoxml. **Version** : 2.2.3. @@ -11426,14 +11426,14 @@ This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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:psi-java:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:psi-java:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : be.cyberelf.nanoxml. **Name** : nanoxml. **Version** : 2.2.3. @@ -13255,14 +13255,14 @@ This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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:tool-base:2.0.0-SNAPSHOT.377` +# Dependencies of `io.spine.tools:tool-base:2.0.0-SNAPSHOT.378` ## Runtime 1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2. @@ -14149,6 +14149,6 @@ This report was generated on **Mon Apr 20 20:36:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Mon Apr 20 20:36:36 WEST 2026** using +This report was generated on **Wed Apr 22 15:53: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). \ No newline at end of file diff --git a/pom.xml b/pom.xml index 23244ad9..0cdd20ec 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ all modules and does not describe the project structure per-subproject. --> io.spine.tools tool-base -2.0.0-SNAPSHOT.377 +2.0.0-SNAPSHOT.378 2015 From f3b8fad38cb75a866cd33b49958cc311d6d58815 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 16:22:37 +0100 Subject: [PATCH 05/14] Introduce compilation task prefix constant ... addressing #120. --- .../src/main/java/io/spine/tools/gradle/task/TaskName.java | 5 +++++ .../main/kotlin/io/spine/tools/gradle/project/ProjectExts.kt | 3 ++- .../main/kotlin/io/spine/tools/gradle/task/JavaTaskName.kt | 2 +- .../io/spine/tools/gradle/task/TaskWithSourceSetName.kt | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/plugin-base/src/main/java/io/spine/tools/gradle/task/TaskName.java b/plugin-base/src/main/java/io/spine/tools/gradle/task/TaskName.java index 1c38cf27..38e3a36f 100644 --- a/plugin-base/src/main/java/io/spine/tools/gradle/task/TaskName.java +++ b/plugin-base/src/main/java/io/spine/tools/gradle/task/TaskName.java @@ -33,6 +33,11 @@ */ public interface TaskName { + /** + * The prefix for a compilation task name. + */ + String COMPILE_PREFIX = "compile"; + /** * The value of the name. * diff --git a/plugin-base/src/main/kotlin/io/spine/tools/gradle/project/ProjectExts.kt b/plugin-base/src/main/kotlin/io/spine/tools/gradle/project/ProjectExts.kt index a6e5079f..ac3c9200 100644 --- a/plugin-base/src/main/kotlin/io/spine/tools/gradle/project/ProjectExts.kt +++ b/plugin-base/src/main/kotlin/io/spine/tools/gradle/project/ProjectExts.kt @@ -35,6 +35,7 @@ import io.spine.tools.code.Language import io.spine.tools.code.SourceSetName import io.spine.tools.code.SourceSetName.Companion.main import io.spine.tools.gradle.ConfigurationName +import io.spine.tools.gradle.task.TaskName import io.spine.tools.meta.MavenArtifact import java.lang.reflect.Method import org.gradle.api.Project @@ -164,7 +165,7 @@ public fun Project.hasKotlin(): Boolean = hasCompileTask(Kotlin) public fun Project.hasCompileTask(language: Language): Boolean { val currentTasks = ImmutableList.copyOf(tasks) val compileTask = currentTasks.find { - it.name.startsWith("compile") && it.name.endsWith(language.name) + it.name.startsWith(TaskName.COMPILE_PREFIX) && it.name.endsWith(language.name) } return compileTask != null } diff --git a/plugin-base/src/main/kotlin/io/spine/tools/gradle/task/JavaTaskName.kt b/plugin-base/src/main/kotlin/io/spine/tools/gradle/task/JavaTaskName.kt index 8368eac3..4d5e86a7 100644 --- a/plugin-base/src/main/kotlin/io/spine/tools/gradle/task/JavaTaskName.kt +++ b/plugin-base/src/main/kotlin/io/spine/tools/gradle/task/JavaTaskName.kt @@ -46,7 +46,7 @@ public class JavaTaskName(value: String, ssn: SourceSetName) : TaskWithSourceSet */ @JvmStatic public fun compileJava(ssn: SourceSetName): TaskName = - JavaTaskName("compile${ssn.toInfix()}Java", ssn) + JavaTaskName("${TaskName.COMPILE_PREFIX}${ssn.toInfix()}Java", ssn) /** * Obtains a name of the task which marks processing of all the classes and resources diff --git a/plugin-base/src/main/kotlin/io/spine/tools/gradle/task/TaskWithSourceSetName.kt b/plugin-base/src/main/kotlin/io/spine/tools/gradle/task/TaskWithSourceSetName.kt index b0743447..aafb3c32 100644 --- a/plugin-base/src/main/kotlin/io/spine/tools/gradle/task/TaskWithSourceSetName.kt +++ b/plugin-base/src/main/kotlin/io/spine/tools/gradle/task/TaskWithSourceSetName.kt @@ -1,5 +1,5 @@ /* - * 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. @@ -30,7 +30,7 @@ import io.spine.tools.code.SourceSetBasedName import io.spine.tools.code.SourceSetName /** - * A base for a task name type the value of which depend on a name of a source set + * A base for a task name type the value of which depends on a name of a source set * to which this task belongs. */ public open class TaskWithSourceSetName protected constructor( From d397d5cde6f8a3e752c55aac4069da4a405e8306 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 16:22:48 +0100 Subject: [PATCH 06/14] Update build time --- dependencies.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/dependencies.md b/dependencies.md index 6bbda8f8..61cac626 100644 --- a/dependencies.md +++ b/dependencies.md @@ -839,7 +839,7 @@ The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:55 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). @@ -1752,7 +1752,7 @@ This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:56 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). @@ -2230,7 +2230,7 @@ This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:35 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:55 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). @@ -3095,7 +3095,7 @@ This report was generated on **Wed Apr 22 15:53:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:56 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). @@ -4183,7 +4183,7 @@ This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:56 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). @@ -5969,7 +5969,7 @@ This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:56 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). @@ -6826,7 +6826,7 @@ This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:56 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). @@ -7600,7 +7600,7 @@ This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:55 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). @@ -8465,7 +8465,7 @@ This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:55 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). @@ -9434,7 +9434,7 @@ This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:35 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:55 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). @@ -10311,7 +10311,7 @@ This report was generated on **Wed Apr 22 15:53:35 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:56 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). @@ -11426,7 +11426,7 @@ This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:56 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). @@ -13255,7 +13255,7 @@ This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:56 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). @@ -14149,6 +14149,6 @@ This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 15:53:36 WEST 2026** using +This report was generated on **Wed Apr 22 16:20:56 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). \ No newline at end of file From d758f490a1981d6aee70d08f12cf914b0bffaa41 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 16:40:09 +0100 Subject: [PATCH 07/14] Remove `"unused"` suppression --- .../java/io/spine/tools/gradle/task/BaseTaskName.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/plugin-base/src/main/java/io/spine/tools/gradle/task/BaseTaskName.java b/plugin-base/src/main/java/io/spine/tools/gradle/task/BaseTaskName.java index f42491b3..0b973933 100644 --- a/plugin-base/src/main/java/io/spine/tools/gradle/task/BaseTaskName.java +++ b/plugin-base/src/main/java/io/spine/tools/gradle/task/BaseTaskName.java @@ -1,5 +1,5 @@ /* - * 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. @@ -33,7 +33,6 @@ * @see * the plugin doc */ -@SuppressWarnings("unused") public enum BaseTaskName implements TaskName { /** @@ -47,14 +46,14 @@ public enum BaseTaskName implements TaskName { assemble, /** - * A lifecycle task which marks the project verification routines, such as static code analysis, - * executing tests, etc. + * A lifecycle task that marks the project verification routines, + * such as static code analysis, executing tests, etc. */ check, /** - * A lifecycle task which builds everything in the project, including running tests, producing - * production artifacts, and generating documentation. + * A lifecycle task that builds everything in the project, including running tests, + * producing production artifacts, and generating documentation. */ build, From 77200b579b216edd495ef85995a7c972c52df45e Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 17:03:34 +0100 Subject: [PATCH 08/14] Add test for a task with no dependencies --- .../gradle/task/GradleTaskBuilderSpec.kt | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt b/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt index cd1de614..9bc82b9f 100644 --- a/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt +++ b/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt @@ -28,6 +28,7 @@ package io.spine.tools.gradle.task import com.google.common.collect.ImmutableList import com.google.common.truth.Truth.assertThat +import io.kotest.assertions.throwables.shouldThrow import io.kotest.matchers.collections.shouldContain import io.kotest.matchers.collections.shouldHaveSize import io.kotest.matchers.shouldBe @@ -42,6 +43,7 @@ import io.spine.tools.gradle.testing.GradleProject import io.spine.tools.gradle.testing.NoOp import java.io.File import org.gradle.api.Project +import org.gradle.api.Task import org.gradle.testfixtures.ProjectBuilder import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.DisplayName @@ -130,8 +132,7 @@ internal class GradleTaskBuilderSpec { } @Test - @DisplayName("return build task description") - fun returnBuildTaskDescription() { + fun `return build task description`() { val desc = GradleTask.newBuilder(preClean, NoOp.action()) .insertBeforeTask(BaseTaskName.clean) .applyNowTo(project) @@ -161,4 +162,23 @@ internal class GradleTaskBuilderSpec { it[0].canonicalFile shouldBe input.canonicalFile } } + + @Test + fun `allow creating task with no dependencies if explicitly permitted`() { + val project = ProjectBuilder.builder().build() + val taskName = TaskName.of("taskWithNoDependencies") + + shouldThrow { + GradleTask + .newBuilder(taskName) { _: Task -> } + .applyNowTo(project) + } + + val task = GradleTask + .newBuilder(taskName) { _: Task -> } + .allowNoDependencies() + .applyNowTo(project) + + task.name shouldBe taskName + } } From 732b5a448c566bfdfdc0e499daac87f2d0e08c44 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 17:03:44 +0100 Subject: [PATCH 09/14] Add nullability annotations --- .../spine/tools/gradle/task/GradleTask.java | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/plugin-base/src/main/java/io/spine/tools/gradle/task/GradleTask.java b/plugin-base/src/main/java/io/spine/tools/gradle/task/GradleTask.java index 0b26bf7b..6b1a7585 100644 --- a/plugin-base/src/main/java/io/spine/tools/gradle/task/GradleTask.java +++ b/plugin-base/src/main/java/io/spine/tools/gradle/task/GradleTask.java @@ -119,20 +119,19 @@ public Project getProject() { * {@code build(..)}. This is done to add some additional semantics to * such an irreversible action like this. */ - @SuppressWarnings("unused") public static final class Builder { private final TaskName name; private final Action action; - private TaskName previousTask; - private TaskName previousTaskOfAllProjects; - private TaskName followingTask; + private @Nullable TaskName previousTask; + private @Nullable TaskName previousTaskOfAllProjects; + private @Nullable TaskName followingTask; private boolean allowNoDependencies; private boolean hasInputFiles = false; private final Set inputs = new HashSet<>(); - private Map inputProperties; + private @Nullable Map inputProperties; private boolean hasOutputFiles = false; private final Set outputs = new HashSet<>(); @@ -193,12 +192,12 @@ public Builder insertAfterTask(TaskName target) { *

If a certain project does not have a task with the specified name, no action is * performed for that project. * - *

This method does not guarantee that the task will be included into a standard + *

This method does not guarantee that the task will be included in a standard * Gradle build. * *

Invocation of this method may substitute the invocation of * {@link #insertAfterTask} or {@link #insertBeforeTask} if it's guaranteed that at least - * one task with such name exists. Though the fallback is never handled and there is + * one task with such a name exists. Though the fallback is never handled, and there is * no guarantee that the task will get into the Gradle task graph. * * @param target @@ -251,8 +250,8 @@ public Builder withInputFiles(FileCollection inputs) { *

An input property is treated in a similar way as * an {@linkplain #withInputFiles input file}. * - *

Multiple invocations of this method append new properties. If there already is - * a property with is such a name, the value is overridden. + *

Multiple invocations of this method append new properties. + * If there already is a property with such a name, the value is overridden. * * @param propertyName * the name of the property @@ -309,9 +308,8 @@ public GradleTask applyNowTo(Project project) { log.debug("Creating task `{}` in the project `{}`.", taskName, projectName); TaskProvider newTask; try { - newTask = project.getTasks().register(taskName, Task.class, task -> { - task.doLast(action); - }); + newTask = project.getTasks() + .register(taskName, Task.class, task -> task.doLast(action)); } catch (@SuppressWarnings("OverlyBroadCatchBlock") Exception e) { log.error("Failed to create task `{}` in the project `{}`.", taskName, projectName); throw new IllegalStateException(e); @@ -356,6 +354,7 @@ private void dependTask(Task task, Project project) { } private void dependTaskOnAllProjects(Task task, Project rootProject) { + checkNotNull(previousTaskOfAllProjects, "Previous task of all projects is not set."); var prevTaskName = previousTaskOfAllProjects.name(); ProjectHierarchy.applyToAll(rootProject, project -> { var existingTask = project.getTasks() @@ -399,7 +398,7 @@ public int hashCode() { } @Override - public boolean equals(Object obj) { + public boolean equals(@Nullable Object obj) { if (this == obj) { return true; } From 7a0b2b084063158f2a2bccb046cbf723e3c5bf3f Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 17:14:48 +0100 Subject: [PATCH 10/14] Add tests for task properties --- .../gradle/task/GradleTaskBuilderSpec.kt | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt b/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt index 9bc82b9f..8b657a15 100644 --- a/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt +++ b/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt @@ -31,6 +31,7 @@ import com.google.common.truth.Truth.assertThat import io.kotest.assertions.throwables.shouldThrow import io.kotest.matchers.collections.shouldContain import io.kotest.matchers.collections.shouldHaveSize +import io.kotest.matchers.maps.shouldContainKey import io.kotest.matchers.shouldBe import io.kotest.matchers.shouldNotBe import io.spine.testing.Assertions.assertIllegalState @@ -47,6 +48,7 @@ import org.gradle.api.Task import org.gradle.testfixtures.ProjectBuilder import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.DisplayName +import org.junit.jupiter.api.Nested import org.junit.jupiter.api.Test /** @@ -163,6 +165,62 @@ internal class GradleTaskBuilderSpec { } } + @Nested + inner class `'withInputProperty'` { + + @Test + fun `register input property on task`() { + GradleTask.newBuilder(preClean, NoOp.action()) + .insertBeforeTask(BaseTaskName.clean) + .withInputProperty("propName", "propValue") + .applyNowTo(project) + + val task = project.tasks.findByPath(preClean.name) + task shouldNotBe null + task!!.inputs.properties["propName"] shouldBe "propValue" + } + + @Test + fun `append multiple input properties on separate calls`() { + GradleTask.newBuilder(preClean, NoOp.action()) + .insertBeforeTask(BaseTaskName.clean) + .withInputProperty("first", "alpha") + .withInputProperty("second", "beta") + .applyNowTo(project) + + val task = project.tasks.findByPath(preClean.name) + task shouldNotBe null + val properties = task!!.inputs.properties + properties["first"] shouldBe "alpha" + properties["second"] shouldBe "beta" + } + + @Test + fun `override input property value when called with same name`() { + GradleTask.newBuilder(preClean, NoOp.action()) + .insertBeforeTask(BaseTaskName.clean) + .withInputProperty("key", "original") + .withInputProperty("key", "overridden") + .applyNowTo(project) + + val task = project.tasks.findByPath(preClean.name) + task shouldNotBe null + task!!.inputs.properties["key"] shouldBe "overridden" + } + + @Test + fun `accept null as input property value`() { + GradleTask.newBuilder(preClean, NoOp.action()) + .insertBeforeTask(BaseTaskName.clean) + .withInputProperty("nullProp", null) + .applyNowTo(project) + + val task = project.tasks.findByPath(preClean.name) + task shouldNotBe null + task!!.inputs.properties shouldContainKey "nullProp" + } + } + @Test fun `allow creating task with no dependencies if explicitly permitted`() { val project = ProjectBuilder.builder().build() From 0257c47d0da4a53e30fd1eec820931142c037786 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 17:29:12 +0100 Subject: [PATCH 11/14] Add tests for input files --- .../gradle/task/GradleTaskBuilderSpec.kt | 65 +++++++++++++------ 1 file changed, 46 insertions(+), 19 deletions(-) diff --git a/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt b/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt index 8b657a15..20f72e4f 100644 --- a/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt +++ b/plugin-base/src/test/kotlin/io/spine/tools/gradle/task/GradleTaskBuilderSpec.kt @@ -26,8 +26,6 @@ package io.spine.tools.gradle.task -import com.google.common.collect.ImmutableList -import com.google.common.truth.Truth.assertThat import io.kotest.assertions.throwables.shouldThrow import io.kotest.matchers.collections.shouldContain import io.kotest.matchers.collections.shouldHaveSize @@ -80,11 +78,8 @@ internal class GradleTaskBuilderSpec { val newTask = subProjectTasks.findByName(task.name.name()) newTask shouldNotBe null val dependencies: Collection<*> = newTask!!.dependsOn - assertThat(dependencies) - .containsAtLeast( - subProjectTasks.findByName(compileJava.name()), - project.tasks.findByName(compileJava.name()) - ) + dependencies shouldContain subProjectTasks.findByName(compileJava.name()) + dependencies shouldContain project.tasks.findByName(compileJava.name()) } @Test @@ -154,15 +149,9 @@ internal class GradleTaskBuilderSpec { val task = project.tasks.findByPath(preClean.name) task shouldNotBe null - val inputs = task!!.inputs - inputs shouldNotBe null - val inputFiles = ImmutableList.copyOf( - inputs.files.files - ) - inputFiles.let { - it shouldHaveSize 1 - it[0].canonicalFile shouldBe input.canonicalFile - } + val inputFiles = task!!.inputs.files.files.toList() + inputFiles shouldHaveSize 1 + inputFiles[0].canonicalFile shouldBe input.canonicalFile } @Nested @@ -221,21 +210,59 @@ internal class GradleTaskBuilderSpec { } } + @Nested + inner class `'withOutputFiles'` { + + @Test + fun `register output files on task`() { + val output = File(".").absoluteFile + val files = project.layout.files(output) + GradleTask.newBuilder(preClean, NoOp.action()) + .insertBeforeTask(BaseTaskName.clean) + .withOutputFiles(files) + .applyNowTo(project) + + val task = project.tasks.findByPath(preClean.name) + task shouldNotBe null + val outputFiles = task!!.outputs.files.files.toList() + outputFiles shouldHaveSize 1 + outputFiles[0].canonicalFile shouldBe output.canonicalFile + } + + @Test + fun `append output files on multiple calls`() { + val firstOutput = File(".").absoluteFile + val secondOutput = File("..").absoluteFile + GradleTask.newBuilder(preClean, NoOp.action()) + .insertBeforeTask(BaseTaskName.clean) + .withOutputFiles(project.layout.files(firstOutput)) + .withOutputFiles(project.layout.files(secondOutput)) + .applyNowTo(project) + + val task = project.tasks.findByPath(preClean.name) + task shouldNotBe null + val outputFiles = task!!.outputs.files.files + val canonicalPaths = outputFiles.map { it.canonicalFile } + canonicalPaths shouldContain firstOutput.canonicalFile + canonicalPaths shouldContain secondOutput.canonicalFile + } + } + @Test fun `allow creating task with no dependencies if explicitly permitted`() { - val project = ProjectBuilder.builder().build() + val standaloneProject = ProjectBuilder.builder().build() val taskName = TaskName.of("taskWithNoDependencies") shouldThrow { GradleTask .newBuilder(taskName) { _: Task -> } - .applyNowTo(project) + .applyNowTo(standaloneProject) } val task = GradleTask .newBuilder(taskName) { _: Task -> } .allowNoDependencies() - .applyNowTo(project) + .applyNowTo(standaloneProject) task.name shouldBe taskName } From 017b72a2e41e990f669cb83f5f1a8ca75d7079de Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 17:32:10 +0100 Subject: [PATCH 12/14] Address grammar in KDocs --- .../src/main/java/io/spine/tools/gradle/task/GradleTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-base/src/main/java/io/spine/tools/gradle/task/GradleTask.java b/plugin-base/src/main/java/io/spine/tools/gradle/task/GradleTask.java index 6b1a7585..e8f4ee77 100644 --- a/plugin-base/src/main/java/io/spine/tools/gradle/task/GradleTask.java +++ b/plugin-base/src/main/java/io/spine/tools/gradle/task/GradleTask.java @@ -231,7 +231,7 @@ public Builder allowNoDependencies() { *

If none of the specified file system elements are present before the task * execution, the task will be marked as {@code NO-SOURCE} and skipped. * - *

Multiple invocations appends the new files to the existing ones. + *

Multiple invocations append the new files to the existing ones. * * @param inputs * the task input files From 5c6406b1db96251207ea648d1dfa11862091fe00 Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 17:32:17 +0100 Subject: [PATCH 13/14] Update build time --- dependencies.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/dependencies.md b/dependencies.md index 61cac626..5d003687 100644 --- a/dependencies.md +++ b/dependencies.md @@ -839,7 +839,7 @@ The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:55 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:29 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). @@ -1752,7 +1752,7 @@ This report was generated on **Wed Apr 22 16:20:55 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:29 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). @@ -2230,7 +2230,7 @@ This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:55 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:28 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). @@ -3095,7 +3095,7 @@ This report was generated on **Wed Apr 22 16:20:55 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:29 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). @@ -4183,7 +4183,7 @@ This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:29 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). @@ -5969,7 +5969,7 @@ This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:30 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). @@ -6826,7 +6826,7 @@ This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:29 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). @@ -7600,7 +7600,7 @@ This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:55 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:29 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). @@ -8465,7 +8465,7 @@ This report was generated on **Wed Apr 22 16:20:55 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:55 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:29 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). @@ -9434,7 +9434,7 @@ This report was generated on **Wed Apr 22 16:20:55 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:55 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:29 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). @@ -10311,7 +10311,7 @@ This report was generated on **Wed Apr 22 16:20:55 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:29 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). @@ -11426,7 +11426,7 @@ This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:29 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). @@ -13255,7 +13255,7 @@ This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:30 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). @@ -14149,6 +14149,6 @@ This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using The dependencies distributed under several licenses, are used according their commercial-use-friendly license. -This report was generated on **Wed Apr 22 16:20:56 WEST 2026** using +This report was generated on **Wed Apr 22 17:29:29 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). \ No newline at end of file From 27af134d57dd015b78135290ca023d05681ff66c Mon Sep 17 00:00:00 2001 From: alexander-yevsyukov Date: Wed, 22 Apr 2026 17:34:33 +0100 Subject: [PATCH 14/14] Fix hear in (c) header --- .../src/main/java/io/spine/tools/gradle/task/BaseTaskName.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin-base/src/main/java/io/spine/tools/gradle/task/BaseTaskName.java b/plugin-base/src/main/java/io/spine/tools/gradle/task/BaseTaskName.java index 0b973933..8cad8db1 100644 --- a/plugin-base/src/main/java/io/spine/tools/gradle/task/BaseTaskName.java +++ b/plugin-base/src/main/java/io/spine/tools/gradle/task/BaseTaskName.java @@ -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. @@ -23,6 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ + package io.spine.tools.gradle.task; import io.spine.annotation.VisibleForTesting;