diff options
Diffstat (limited to 'jgvariant-ostree')
4 files changed, 17 insertions, 6 deletions
diff --git a/jgvariant-ostree/pom.xml b/jgvariant-ostree/pom.xml index 1007ee1..a6a1d9e 100644 --- a/jgvariant-ostree/pom.xml +++ b/jgvariant-ostree/pom.xml @@ -13,7 +13,7 @@ SPDX-License-Identifier: LGPL-3.0-or-later <modelVersion>4.0.0</modelVersion> - <version>0.1.10-SNAPSHOT</version> + <version>0.1.10</version> <artifactId>jgvariant-ostree</artifactId> <packaging>jar</packaging> @@ -28,7 +28,7 @@ SPDX-License-Identifier: LGPL-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,7 +37,7 @@ SPDX-License-Identifier: LGPL-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> <!-- Annotations --> @@ -52,6 +52,11 @@ SPDX-License-Identifier: LGPL-3.0-or-later <optional>true</optional> </dependency> <dependency> + <groupId>org.jspecify</groupId> + <artifactId>jspecify</artifactId> + <optional>true</optional> + </dependency> + <dependency> <groupId>org.apiguardian</groupId> <artifactId>apiguardian-api</artifactId> <optional>true</optional> diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java index 3bd8b25..f9309b9 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java @@ -10,7 +10,7 @@ import java.util.Base64; import java.util.HexFormat; import java.util.stream.IntStream; import java.util.stream.Stream; -import org.jetbrains.annotations.Nullable; +import org.jspecify.annotations.Nullable; /** * A wrapper for a {@code byte[]} that implements {@link #equals(Object)}, {@link #hashCode()}, and diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java index 858a748..63988ce 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java @@ -116,7 +116,9 @@ * </dl> */ @API(status = Status.EXPERIMENTAL) +@NullMarked package eu.mulk.jgvariant.ostree; import org.apiguardian.api.API; import org.apiguardian.api.API.Status; +import org.jspecify.annotations.NullMarked; diff --git a/jgvariant-ostree/src/main/java/module-info.java b/jgvariant-ostree/src/main/java/module-info.java index cd5f78c..0ba7fb6 100644 --- a/jgvariant-ostree/src/main/java/module-info.java +++ b/jgvariant-ostree/src/main/java/module-info.java @@ -2,6 +2,8 @@ // // SPDX-License-Identifier: LGPL-3.0-or-later +import org.jspecify.annotations.NullMarked; + /** * {@link eu.mulk.jgvariant.core.Decoder} instances for OSTree repositories. * @@ -36,7 +38,7 @@ * <dependency> * <groupId>eu.mulk.jgvariant</groupId> * <artifactId>jgvariant-bom</artifactId> - * <version>0.1.8</version> + * <version>0.1.10</version> * <type>pom</type> * <scope>import</scope> * </dependency> @@ -70,7 +72,7 @@ * dependencies { * // ... * - * implementation(platform("eu.mulk.jgvariant:jgvariant-bom:0.1.8")) + * implementation(platform("eu.mulk.jgvariant:jgvariant-bom:0.1.10")) * implementation("eu.mulk.jgvariant:jgvariant-core") * implementation("eu.mulk.jgvariant:jgvariant-ostree") * @@ -78,6 +80,7 @@ * } * } */ +@NullMarked module eu.mulk.jgvariant.ostree { requires transitive eu.mulk.jgvariant.core; @@ -86,6 +89,7 @@ module eu.mulk.jgvariant.ostree { requires static com.google.errorprone.annotations; requires static org.apiguardian.api; requires static org.jetbrains.annotations; + requires static org.jspecify; exports eu.mulk.jgvariant.ostree; } |