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