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 | * |
| 29 | * <pre>{@code |
| 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 | 2db188d | 2021-12-30 21:07:52 +0100 | [diff] [blame] | 40 | * <version>0.1.5</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> |
| 66 | * }</pre> |
| 67 | * |
| 68 | * <h3 id="sect-installation-gradle">Usage with Gradle</h3> |
| 69 | * |
| 70 | * <pre>{@code |
| 71 | * dependencies { |
| 72 | * ... |
| 73 | * |
Matthias Andreas Benkard | 2db188d | 2021-12-30 21:07:52 +0100 | [diff] [blame] | 74 | * implementation(platform("eu.mulk.jgvariant:jgvariant-bom:0.1.5") |
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 | * |
| 78 | * ... |
| 79 | * } |
| 80 | * }</pre> |
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 | 261532a | 2021-12-12 20:09:27 +0100 | [diff] [blame] | 83 | requires com.google.errorprone.annotations; |
| 84 | requires org.jetbrains.annotations; |
Matthias Andreas Benkard | 25b7f90 | 2021-12-17 06:02:11 +0100 | [diff] [blame] | 85 | requires org.apiguardian.api; |
Matthias Andreas Benkard | 261532a | 2021-12-12 20:09:27 +0100 | [diff] [blame] | 86 | |
| 87 | exports eu.mulk.jgvariant.core; |
| 88 | } |