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
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ buildscript {
}

plugins {
idea
jacoco
`project-report`
`gradle-doctor`
Expand Down
3 changes: 1 addition & 2 deletions buildSrc/src/main/kotlin/module.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ plugins {
id("detekt-code-analysis")
id("org.jetbrains.kotlinx.kover")
id("project-report")
idea
}
apply<BomsPlugin>()
apply<IncrementGuard>()
Expand Down Expand Up @@ -256,7 +255,7 @@ fun Module.setupTests() {
}

fun Module.prepareProtocConfigVersionsTask(generatedResources: String) {
val prepareProtocConfigVersions by tasks.registering {
val prepareProtocConfigVersions = tasks.register("prepareProtocConfigVersions") {
description = "Prepares the versions.properties file."

val propertiesFile = file("$generatedResources/versions.properties")
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/version-to-resources.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ sourceSets {
}
}

val createVersionFile by tasks.registering {
val createVersionFile = tasks.register("createVersionFile") {

inputs.property("version", project.version)
outputs.file(versionFile)
Expand Down
12 changes: 6 additions & 6 deletions docs/dependencies/dependencies.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


# Dependencies of `io.spine.tools:prototap-api:0.17.1`
# Dependencies of `io.spine.tools:prototap-api:0.17.2`

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

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

This report was generated on **Sat Aug 29 22:07:07 WEST 2026** using
This report was generated on **Tue Sep 01 14:58:23 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:prototap-gradle-plugin:0.17.1`
# Dependencies of `io.spine.tools:prototap-gradle-plugin:0.17.2`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -1739,14 +1739,14 @@ This report was generated on **Sat Aug 29 22:07:07 WEST 2026** using

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

This report was generated on **Sat Aug 29 22:07:07 WEST 2026** using
This report was generated on **Tue Sep 01 14:58:23 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:prototap-protoc-plugin:0.17.1`
# Dependencies of `io.spine.tools:prototap-protoc-plugin:0.17.2`

## Runtime
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
Expand Down Expand Up @@ -2564,6 +2564,6 @@ This report was generated on **Sat Aug 29 22:07:07 WEST 2026** using

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

This report was generated on **Sat Aug 29 22:07:07 WEST 2026** using
This report was generated on **Tue Sep 01 14:58:23 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).
2 changes: 1 addition & 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>ProtoTap</artifactId>
<version>0.17.1</version>
<version>0.17.2</version>

<inceptionYear>2015</inceptionYear>

Expand Down
30 changes: 12 additions & 18 deletions gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ dependencies {
)
testing {
suites {
val test by getting(JvmTestSuite::class) {
named<JvmTestSuite>("test") {
useJUnitJupiter(JUnit.version)
dependencies {
implementation(Kotlin.GradlePlugin.lib)
Expand All @@ -75,7 +75,7 @@ testing {
* Make functional tests depend on publishing all the submodules to Maven Local so that
* the Gradle plugin can get all the dependencies when it's applied to the test projects.
*/
val test: Task by tasks.getting {
tasks.named("test") {
val task = this
rootProject.subprojects.forEach { subproject ->
task.dependsOn(":${subproject.name}:publishToMavenLocal")
Expand All @@ -87,7 +87,7 @@ java {
withJavadocJar()
}

val shadowJar by tasks.getting(ShadowJar::class) {
tasks.named<ShadowJar>("shadowJar") {
archiveClassifier.set("")
exclude(
"org/checkerframework/**",
Expand Down Expand Up @@ -195,26 +195,20 @@ project.afterEvaluate {
}

// The version declared in `version.gradle.kts`.
val versionToPublish: String by extra

// Do not attempt to publish snapshot versions to comply with publishing rules.
// See: https://plugins.gradle.org/docs/publish-plugin#approval
val publishPlugins: Task by tasks.getting {
enabled = !versionToPublish.isSnapshot()
}

val publish: Task by tasks.getting {
dependsOn(publishPlugins)
}
val versionToPublish = extra["versionToPublish"] as String

tasks {
ideaModule {
notCompatibleWithConfigurationCache("https://github.com/gradle/gradle/issues/13480")
}

publishPlugins {
// Do not attempt to publish snapshot versions to comply with publishing rules.
// See: https://plugins.gradle.org/docs/publish-plugin#approval
enabled = !versionToPublish.isSnapshot()

notCompatibleWithConfigurationCache("https://github.com/gradle/gradle/issues/21283")
}

publish {
dependsOn(publishPlugins)
}
}

configureTaskDependencies()
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.
*/

extra.set("versionToPublish", "0.17.1")
extra.set("versionToPublish", "0.17.2")
Loading