diff options
Diffstat (limited to 'jgvariant-tool')
4 files changed, 17 insertions, 5 deletions
diff --git a/jgvariant-tool/pom.xml b/jgvariant-tool/pom.xml index f4026e4..7e9568b 100644 --- a/jgvariant-tool/pom.xml +++ b/jgvariant-tool/pom.xml @@ -13,7 +13,7 @@ SPDX-License-Identifier: GPL-3.0-or-later <modelVersion>4.0.0</modelVersion> - <version>0.1.10-SNAPSHOT</version> + <version>0.1.10</version> <artifactId>jgvariant-tool</artifactId> <packaging>jar</packaging> @@ -28,7 +28,7 @@ SPDX-License-Identifier: GPL-3.0-or-later <parent> <groupId>eu.mulk.jgvariant</groupId> <artifactId>jgvariant-parent</artifactId> - <version>0.1.10-SNAPSHOT</version> + <version>0.1.10</version> <relativePath>../jgvariant-parent/pom.xml</relativePath> </parent> @@ -37,12 +37,12 @@ SPDX-License-Identifier: GPL-3.0-or-later <dependency> <groupId>eu.mulk.jgvariant</groupId> <artifactId>jgvariant-core</artifactId> - <version>0.1.10-SNAPSHOT</version> + <version>0.1.10</version> </dependency> <dependency> <groupId>eu.mulk.jgvariant</groupId> <artifactId>jgvariant-ostree</artifactId> - <version>0.1.10-SNAPSHOT</version> + <version>0.1.10</version> </dependency> <!-- Annotations --> @@ -59,6 +59,12 @@ SPDX-License-Identifier: GPL-3.0-or-later <optional>true</optional> </dependency> <dependency> + <groupId>org.jspecify</groupId> + <artifactId>jspecify</artifactId> + <scope>provided</scope> + <optional>true</optional> + </dependency> + <dependency> <groupId>org.apiguardian</groupId> <artifactId>apiguardian-api</artifactId> <scope>provided</scope> diff --git a/jgvariant-tool/src/main/java/eu/mulk/jgvariant/tool/MainCommand.java b/jgvariant-tool/src/main/java/eu/mulk/jgvariant/tool/MainCommand.java index db724dd..9c3e0f9 100644 --- a/jgvariant-tool/src/main/java/eu/mulk/jgvariant/tool/MainCommand.java +++ b/jgvariant-tool/src/main/java/eu/mulk/jgvariant/tool/MainCommand.java @@ -29,8 +29,8 @@ import java.text.ParseException; import java.util.*; import java.util.logging.Logger; import java.util.stream.IntStream; -import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.VisibleForTesting; +import org.jspecify.annotations.Nullable; import picocli.AutoComplete; import picocli.CommandLine; import picocli.CommandLine.*; diff --git a/jgvariant-tool/src/main/java/eu/mulk/jgvariant/tool/package-info.java b/jgvariant-tool/src/main/java/eu/mulk/jgvariant/tool/package-info.java index 54a4fff..43dd1bf 100644 --- a/jgvariant-tool/src/main/java/eu/mulk/jgvariant/tool/package-info.java +++ b/jgvariant-tool/src/main/java/eu/mulk/jgvariant/tool/package-info.java @@ -9,6 +9,8 @@ * be used to manipulate GVariant-formatted files from the command line. */ @API(status = API.Status.INTERNAL) +@NullMarked package eu.mulk.jgvariant.tool; import org.apiguardian.api.API; +import org.jspecify.annotations.NullMarked; diff --git a/jgvariant-tool/src/main/java/module-info.java b/jgvariant-tool/src/main/java/module-info.java index 3f38283..c0f413d 100644 --- a/jgvariant-tool/src/main/java/module-info.java +++ b/jgvariant-tool/src/main/java/module-info.java @@ -2,6 +2,8 @@ // // SPDX-License-Identifier: GPL-3.0-or-later +import org.jspecify.annotations.NullMarked; + /** * The {@code jgvariant} command line tool. * @@ -68,6 +70,7 @@ * $ jgvariant ostree summary add-static-delta ./jgvariant-ostree/src/test/resources/ostree/summary f481144629474bd88c106e45ac405ebd75b324b0655af1aec14b31786ae1fd61 31c8835d5c9d2c6687a50091c85142d1b2d853ff416a9fb81b4ee30754510d52 * } */ +@NullMarked module eu.mulk.jgvariant.tool { requires transitive eu.mulk.jgvariant.ostree; requires info.picocli; @@ -77,6 +80,7 @@ module eu.mulk.jgvariant.tool { requires static com.google.errorprone.annotations; requires static org.apiguardian.api; requires static org.jetbrains.annotations; + requires static org.jspecify; opens eu.mulk.jgvariant.tool to info.picocli; |