Matthias Andreas Benkard | b5d657a | 2022-02-03 21:14:30 +0100 | [diff] [blame] | 1 | // SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard <code@mail.matthias.benkard.de> |
| 2 | // |
| 3 | // SPDX-License-Identifier: LGPL-3.0-or-later |
| 4 | |
Matthias Andreas Benkard | 15456c8 | 2024-07-20 10:52:54 +0200 | [diff] [blame] | 5 | import org.jspecify.annotations.NullMarked; |
| 6 | |
Matthias Andreas Benkard | 4c32c39 | 2021-12-12 21:23:53 +0100 | [diff] [blame] | 7 | /** |
| 8 | * Provides a parser for the <a href="https://docs.gtk.org/glib/struct.Variant.html">GVariant</a> |
| 9 | * serialization format. |
| 10 | * |
Matthias Andreas Benkard | 8bbc9c1 | 2021-12-18 22:57:27 +0100 | [diff] [blame] | 11 | * <ul> |
| 12 | * <li><a href="#sect-overview">Overview</a> |
| 13 | * <li><a href="#sect-installation">Installation</a> |
| 14 | * </ul> |
| 15 | * |
| 16 | * <h2 id="sect-overview">Overview</h2> |
| 17 | * |
Matthias Andreas Benkard | 55c3481 | 2021-12-14 21:51:10 +0100 | [diff] [blame] | 18 | * <p>The {@link eu.mulk.jgvariant.core} package contains the {@link eu.mulk.jgvariant.core.Decoder} |
Matthias Andreas Benkard | 8bbc9c1 | 2021-12-18 22:57:27 +0100 | [diff] [blame] | 19 | * type, which contains classes to parse and represent serialized <a |
| 20 | * href="https://docs.gtk.org/glib/struct.Variant.html">GVariant</a> values. |
| 21 | * |
| 22 | * <h2 id="sect-installation">Installation</h2> |
| 23 | * |
| 24 | * <ul> |
| 25 | * <li><a href="#sect-installation-maven">Usage with Maven</a> |
| 26 | * <li><a href="#sect-installation-gradle">Usage with Gradle</a> |
| 27 | * </ul> |
| 28 | * |
| 29 | * <h3 id="sect-installation-maven">Usage with Maven</h3> |
| 30 | * |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 31 | * {@snippet lang="xml" : |
Matthias Andreas Benkard | 8bbc9c1 | 2021-12-18 22:57:27 +0100 | [diff] [blame] | 32 | * <project> |
| 33 | * ... |
| 34 | * |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 35 | * <dependencyManagement> |
| 36 | * ... |
| 37 | * |
| 38 | * <dependencies> |
| 39 | * <dependency> |
| 40 | * <groupId>eu.mulk.jgvariant</groupId> |
| 41 | * <artifactId>jgvariant-bom</artifactId> |
Matthias Andreas Benkard | 15310a2 | 2024-07-22 06:34:17 +0200 | [diff] [blame^] | 42 | * <version>0.1.10</version> |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 43 | * <type>pom</type> |
| 44 | * <scope>import</scope> |
| 45 | * </dependency> |
| 46 | * </dependencies> |
| 47 | * |
| 48 | * ... |
| 49 | * </dependencyManagement> |
| 50 | * |
Matthias Andreas Benkard | 8bbc9c1 | 2021-12-18 22:57:27 +0100 | [diff] [blame] | 51 | * <dependencies> |
| 52 | * ... |
| 53 | * |
| 54 | * <dependency> |
| 55 | * <groupId>eu.mulk.jgvariant</groupId> |
| 56 | * <artifactId>jgvariant-core</artifactId> |
Matthias Andreas Benkard | 8bbc9c1 | 2021-12-18 22:57:27 +0100 | [diff] [blame] | 57 | * </dependency> |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 58 | * <dependency> |
| 59 | * <groupId>eu.mulk.jgvariant</groupId> |
| 60 | * <artifactId>jgvariant-ostree</artifactId> |
| 61 | * </dependency> |
Matthias Andreas Benkard | 8bbc9c1 | 2021-12-18 22:57:27 +0100 | [diff] [blame] | 62 | * |
| 63 | * ... |
| 64 | * </dependencies> |
| 65 | * |
| 66 | * ... |
| 67 | * </project> |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 68 | * } |
Matthias Andreas Benkard | 8bbc9c1 | 2021-12-18 22:57:27 +0100 | [diff] [blame] | 69 | * |
| 70 | * <h3 id="sect-installation-gradle">Usage with Gradle</h3> |
| 71 | * |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 72 | * {@snippet lang="groovy" : |
Matthias Andreas Benkard | 8bbc9c1 | 2021-12-18 22:57:27 +0100 | [diff] [blame] | 73 | * dependencies { |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 74 | * // ... |
Matthias Andreas Benkard | 8bbc9c1 | 2021-12-18 22:57:27 +0100 | [diff] [blame] | 75 | * |
Matthias Andreas Benkard | 15310a2 | 2024-07-22 06:34:17 +0200 | [diff] [blame^] | 76 | * implementation(platform("eu.mulk.jgvariant:jgvariant-bom:0.1.10")) |
Matthias Andreas Benkard | 796b19d | 2021-12-18 23:38:46 +0100 | [diff] [blame] | 77 | * implementation("eu.mulk.jgvariant:jgvariant-core") |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 78 | * implementation("eu.mulk.jgvariant:jgvariant-ostree") |
Matthias Andreas Benkard | 8bbc9c1 | 2021-12-18 22:57:27 +0100 | [diff] [blame] | 79 | * |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 80 | * // ... |
Matthias Andreas Benkard | 8bbc9c1 | 2021-12-18 22:57:27 +0100 | [diff] [blame] | 81 | * } |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 82 | * } |
Matthias Andreas Benkard | 4c32c39 | 2021-12-12 21:23:53 +0100 | [diff] [blame] | 83 | */ |
Matthias Andreas Benkard | 15456c8 | 2024-07-20 10:52:54 +0200 | [diff] [blame] | 84 | @NullMarked |
Matthias Andreas Benkard | 261532a | 2021-12-12 20:09:27 +0100 | [diff] [blame] | 85 | module eu.mulk.jgvariant.core { |
Matthias Andreas Benkard | e002237 | 2022-10-09 19:32:25 +0200 | [diff] [blame] | 86 | requires static com.google.errorprone.annotations; |
| 87 | requires static org.apiguardian.api; |
| 88 | requires static org.jetbrains.annotations; |
Matthias Andreas Benkard | 15456c8 | 2024-07-20 10:52:54 +0200 | [diff] [blame] | 89 | requires static org.jspecify; |
Matthias Andreas Benkard | 261532a | 2021-12-12 20:09:27 +0100 | [diff] [blame] | 90 | |
| 91 | exports eu.mulk.jgvariant.core; |
| 92 | } |