Skip to content

Commit 99f920e

Browse files
build: update semver plugin (#181)
1 parent 9ed5be8 commit 99f920e

File tree

5 files changed

+31
-31
lines changed

5 files changed

+31
-31
lines changed

build.gradle.kts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// SPDX-FileCopyrightText: Copyright © 2023 - 2024 Caleb Cushing
1+
import org.semver4j.Semver
2+
3+
// SPDX-FileCopyrightText: Copyright © 2023 - 2025 Caleb Cushing
24
//
35
// SPDX-License-Identifier: MIT
46

5-
import org.semver4j.Semver
6-
77
buildscript { dependencyLocking { lockAllConfigurations() } }
88

99
plugins {
@@ -15,13 +15,11 @@ plugins {
1515
dependencyLocking { lockAllConfigurations() }
1616

1717
group = "com.xenoterracide"
18-
1918
version =
2019
providers
2120
.environmentVariable("IS_PUBLISHING")
22-
.map { semver.gitDescribed }
23-
.orElse(Semver("0.0.0"))
24-
.get()
21+
.flatMap { semver.provider }
22+
.getOrElse(Semver.ZERO)
2523

2624
tasks.dependencies {
2725
dependsOn(subprojects.map { it.tasks.dependencies })

buildSrc/gradle.lockfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ com.diffplug.durian:durian-swt.os:4.2.2=buildScriptClasspath,runtimeClasspath
88
com.diffplug.spotless:spotless-lib-extra:2.45.0=buildScriptClasspath,compileClasspath,runtimeClasspath
99
com.diffplug.spotless:spotless-lib:2.45.0=buildScriptClasspath,compileClasspath,runtimeClasspath
1010
com.diffplug.spotless:spotless-plugin-gradle:6.25.0=buildScriptClasspath,compileClasspath,runtimeClasspath
11-
com.github.spotbugs.snom:spotbugs-gradle-plugin:6.1.3=buildScriptClasspath,compileClasspath,runtimeClasspath
11+
com.github.spotbugs.snom:spotbugs-gradle-plugin:6.1.5=buildScriptClasspath,compileClasspath,runtimeClasspath
1212
com.googlecode.concurrent-trees:concurrent-trees:2.6.1=buildScriptClasspath,runtimeClasspath
1313
com.googlecode.javaewah:JavaEWAH:1.2.3=buildScriptClasspath,runtimeClasspath
1414
com.squareup.okhttp3:okhttp:4.12.0=buildScriptClasspath,runtimeClasspath
1515
com.squareup.okio:okio-jvm:3.6.0=buildScriptClasspath,runtimeClasspath
1616
com.squareup.okio:okio:3.6.0=buildScriptClasspath,runtimeClasspath
17-
com.xenoterracide.gradle.convention:coverage:0.2.0=buildScriptClasspath,compileClasspath,runtimeClasspath
18-
com.xenoterracide.gradle.convention:publish:0.2.0=buildScriptClasspath,compileClasspath,runtimeClasspath
17+
com.xenoterracide.gradle.convention:coverage:0.2.1=buildScriptClasspath,compileClasspath,runtimeClasspath
18+
com.xenoterracide.gradle.convention:publish:0.2.1=buildScriptClasspath,compileClasspath,runtimeClasspath
1919
commons-codec:commons-codec:1.16.0=buildScriptClasspath,runtimeClasspath
2020
dev.equo.ide:solstice:1.7.5=buildScriptClasspath,runtimeClasspath
2121
net.ltgt.gradle:gradle-errorprone-plugin:4.1.0=buildScriptClasspath,compileClasspath,runtimeClasspath

buildscript-gradle.lockfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ com.squareup.okio:okio-jvm:3.9.0=classpath
2020
com.squareup.okio:okio:3.9.0=classpath
2121
com.squareup:kotlinpoet-jvm:1.15.1=classpath
2222
com.squareup:kotlinpoet:1.15.1=classpath
23-
com.xenoterracide.gradle.semver:com.xenoterracide.gradle.semver.gradle.plugin:0.11.5=classpath
24-
com.xenoterracide:gradle-semver:0.11.5=classpath
23+
com.xenoterracide.gradle.semver:com.xenoterracide.gradle.semver.gradle.plugin:0.12.1=classpath
24+
com.xenoterracide.gradle:git:0.12.1=classpath
25+
com.xenoterracide.gradle:semver:0.12.1=classpath
2526
dev.zacsweers.moshix:moshi-sealed-reflect:0.25.1=classpath
2627
dev.zacsweers.moshix:moshi-sealed-runtime:0.25.1=classpath
27-
io.vavr:vavr-match:0.10.4=classpath
28-
io.vavr:vavr:0.10.4=classpath
28+
io.vavr:vavr-match:0.10.6=classpath
29+
io.vavr:vavr:0.10.6=classpath
2930
javax.inject:javax.inject:1=classpath
31+
org.apache.commons:commons-lang3:3.17.0=classpath
3032
org.checkerframework:checker-qual:3.42.0=classpath
3133
org.jetbrains.kotlin:kotlin-bom:1.9.22=classpath
3234
org.jetbrains.kotlin:kotlin-reflect:2.0.21=classpath
@@ -35,5 +37,6 @@ org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.22=classpath
3537
org.jetbrains.kotlin:kotlin-stdlib:2.0.21=classpath
3638
org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.9.0=classpath
3739
org.jetbrains:annotations:13.0=classpath
38-
org.semver4j:semver4j:5.4.0=classpath
40+
org.jspecify:jspecify:1.0.0=classpath
41+
org.semver4j:semver4j:5.6.0=classpath
3942
empty=

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: Copyright © 2024 Caleb Cushing
1+
# SPDX-FileCopyrightText: Copyright © 2024 - 2025 Caleb Cushing
22
#
33
# SPDX-License-Identifier: CC0-1.0
44

@@ -90,4 +90,4 @@ module-testing = { id = "org.gradlex.java-module-testing", version = "1.+" }
9090
dependency-analysis = { id = "com.autonomousapps.dependency-analysis", version = "1.+" }
9191
gradle-plugin-publish = { id = "com.gradle.plugin-publish", version = "1.+" }
9292
shadow = { id = "com.github.johnrengelman.shadow", version = "8.+" }
93-
semver = { id = "com.xenoterracide.gradle.semver", version = "0.+" }
93+
semver = { id = "com.xenoterracide.gradle.semver", version = "0.12.+" }

module/tools/gradle.lockfile

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,16 @@
33
# This file is expected to be part of source control.
44
com.github.ben-manes.caffeine:caffeine:3.0.5=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
55
com.github.kevinstern:software-and-algorithms:1.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
6-
com.github.spotbugs:spotbugs-annotations:4.9.0=spotbugs
7-
com.github.spotbugs:spotbugs:4.9.0=spotbugs
6+
com.github.spotbugs:spotbugs-annotations:4.9.1=spotbugs
7+
com.github.spotbugs:spotbugs:4.9.1=spotbugs
88
com.github.stephenc.jcip:jcip-annotations:1.0-1=spotbugs
99
com.google.auto.service:auto-service-annotations:1.0.1=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
1010
com.google.auto.value:auto-value-annotations:1.9=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
1111
com.google.auto:auto-common:1.2.2=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
1212
com.google.code.findbugs:jsr305:3.0.2=annotationProcessor,checkstyle,spotbugs,testAnnotationProcessor,testFixturesAnnotationProcessor
13-
com.google.code.gson:gson:2.11.0=spotbugs
13+
com.google.code.gson:gson:2.12.1=spotbugs
1414
com.google.errorprone:error_prone_annotation:2.36.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
15-
com.google.errorprone:error_prone_annotations:2.27.0=spotbugs
16-
com.google.errorprone:error_prone_annotations:2.36.0=annotationProcessor,compileClasspath,testAnnotationProcessor,testCompileClasspath,testFixturesAnnotationProcessor
15+
com.google.errorprone:error_prone_annotations:2.36.0=annotationProcessor,compileClasspath,spotbugs,testAnnotationProcessor,testCompileClasspath,testFixturesAnnotationProcessor
1716
com.google.errorprone:error_prone_annotations:2.7.1=checkstyle
1817
com.google.errorprone:error_prone_check_api:2.36.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
1918
com.google.errorprone:error_prone_core:2.36.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
@@ -55,7 +54,7 @@ org.apiguardian:apiguardian-api:1.1.2=testCompileClasspath
5554
org.assertj:assertj-core:3.27.3=testCompileClasspath,testRuntimeClasspath
5655
org.checkerframework:checker-qual:3.12.0=checkstyle
5756
org.checkerframework:checker-qual:3.48.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
58-
org.checkerframework:checker-qual:3.48.4=compileClasspath,testCompileClasspath
57+
org.checkerframework:checker-qual:3.49.0=compileClasspath,testCompileClasspath
5958
org.checkerframework:dataflow-nullaway:3.48.0=annotationProcessor,testAnnotationProcessor,testFixturesAnnotationProcessor
6059
org.dom4j:dom4j:2.1.4=spotbugs
6160
org.jacoco:org.jacoco.agent:0.8.12=jacocoAgent,jacocoAnt
@@ -64,14 +63,14 @@ org.jacoco:org.jacoco.core:0.8.12=jacocoAnt
6463
org.jacoco:org.jacoco.report:0.8.12=jacocoAnt
6564
org.javassist:javassist:3.28.0-GA=checkstyle
6665
org.jspecify:jspecify:1.0.0=annotationProcessor,compileClasspath,testAnnotationProcessor,testFixturesAnnotationProcessor
67-
org.junit.jupiter:junit-jupiter-api:5.11.4=testCompileClasspath,testRuntimeClasspath
68-
org.junit.jupiter:junit-jupiter-engine:5.11.4=testRuntimeClasspath
69-
org.junit.jupiter:junit-jupiter-params:5.11.4=testCompileClasspath,testRuntimeClasspath
70-
org.junit.jupiter:junit-jupiter:5.11.4=testCompileClasspath,testRuntimeClasspath
71-
org.junit.platform:junit-platform-commons:1.11.4=testCompileClasspath,testRuntimeClasspath
72-
org.junit.platform:junit-platform-engine:1.11.4=testRuntimeClasspath
73-
org.junit.platform:junit-platform-launcher:1.11.4=testRuntimeClasspath
74-
org.junit:junit-bom:5.11.4=testCompileClasspath,testRuntimeClasspath
66+
org.junit.jupiter:junit-jupiter-api:5.12.0-RC2=testCompileClasspath,testRuntimeClasspath
67+
org.junit.jupiter:junit-jupiter-engine:5.12.0-RC2=testRuntimeClasspath
68+
org.junit.jupiter:junit-jupiter-params:5.12.0-RC2=testCompileClasspath,testRuntimeClasspath
69+
org.junit.jupiter:junit-jupiter:5.12.0-RC2=testCompileClasspath,testRuntimeClasspath
70+
org.junit.platform:junit-platform-commons:1.12.0-RC2=testCompileClasspath,testRuntimeClasspath
71+
org.junit.platform:junit-platform-engine:1.12.0-RC2=testRuntimeClasspath
72+
org.junit.platform:junit-platform-launcher:1.12.0-RC2=testRuntimeClasspath
73+
org.junit:junit-bom:5.12.0-RC2=testCompileClasspath,testRuntimeClasspath
7574
org.opentest4j:opentest4j:1.3.0=testCompileClasspath,testRuntimeClasspath
7675
org.ow2.asm:asm-analysis:9.7.1=spotbugs
7776
org.ow2.asm:asm-commons:9.7=jacocoAnt

0 commit comments

Comments
 (0)