blob: b0b61a7ba0ec6279c8c1f6f1cb7fcbabd1b46dac [file] [log] [blame]
Matthias Andreas Benkardb5d657a2022-02-03 21:14:30 +01001// SPDX-FileCopyrightText: © 2021 Matthias Andreas Benkard <code@mail.matthias.benkard.de>
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
Matthias Andreas Benkard15456c82024-07-20 10:52:54 +02005import org.jspecify.annotations.NullMarked;
6
Matthias Andreas Benkard4c32c392021-12-12 21:23:53 +01007/**
8 * Provides a parser for the <a href="https://docs.gtk.org/glib/struct.Variant.html">GVariant</a>
9 * serialization format.
10 *
Matthias Andreas Benkard8bbc9c12021-12-18 22:57:27 +010011 * <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 Benkard55c34812021-12-14 21:51:10 +010018 * <p>The {@link eu.mulk.jgvariant.core} package contains the {@link eu.mulk.jgvariant.core.Decoder}
Matthias Andreas Benkard8bbc9c12021-12-18 22:57:27 +010019 * 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 Benkard0239d322022-04-15 20:21:37 +020031 * {@snippet lang="xml" :
Matthias Andreas Benkard8bbc9c12021-12-18 22:57:27 +010032 * <project>
33 * ...
34 *
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +010035 * <dependencyManagement>
36 * ...
37 *
38 * <dependencies>
39 * <dependency>
40 * <groupId>eu.mulk.jgvariant</groupId>
41 * <artifactId>jgvariant-bom</artifactId>
Matthias Andreas Benkard63382ac2023-12-11 20:30:38 +010042 * <version>0.1.8</version>
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +010043 * <type>pom</type>
44 * <scope>import</scope>
45 * </dependency>
46 * </dependencies>
47 *
48 * ...
49 * </dependencyManagement>
50 *
Matthias Andreas Benkard8bbc9c12021-12-18 22:57:27 +010051 * <dependencies>
52 * ...
53 *
54 * <dependency>
55 * <groupId>eu.mulk.jgvariant</groupId>
56 * <artifactId>jgvariant-core</artifactId>
Matthias Andreas Benkard8bbc9c12021-12-18 22:57:27 +010057 * </dependency>
Matthias Andreas Benkard4e8423d2021-12-19 22:56:09 +010058 * <dependency>
59 * <groupId>eu.mulk.jgvariant</groupId>
60 * <artifactId>jgvariant-ostree</artifactId>
61 * </dependency>
Matthias Andreas Benkard8bbc9c12021-12-18 22:57:27 +010062 *
63 * ...
64 * </dependencies>
65 *
66 * ...
67 * </project>
Matthias Andreas Benkard0239d322022-04-15 20:21:37 +020068 * }
Matthias Andreas Benkard8bbc9c12021-12-18 22:57:27 +010069 *
70 * <h3 id="sect-installation-gradle">Usage with Gradle</h3>
71 *
Matthias Andreas Benkard0239d322022-04-15 20:21:37 +020072 * {@snippet lang="groovy" :
Matthias Andreas Benkard8bbc9c12021-12-18 22:57:27 +010073 * dependencies {
Matthias Andreas Benkard0239d322022-04-15 20:21:37 +020074 * // ...
Matthias Andreas Benkard8bbc9c12021-12-18 22:57:27 +010075 *
Matthias Andreas Benkard63382ac2023-12-11 20:30:38 +010076 * implementation(platform("eu.mulk.jgvariant:jgvariant-bom:0.1.8"))
Matthias Andreas Benkard796b19d2021-12-18 23:38:46 +010077 * implementation("eu.mulk.jgvariant:jgvariant-core")
Matthias Andreas Benkard4e8423d2021-12-19 22:56:09 +010078 * implementation("eu.mulk.jgvariant:jgvariant-ostree")
Matthias Andreas Benkard8bbc9c12021-12-18 22:57:27 +010079 *
Matthias Andreas Benkard0239d322022-04-15 20:21:37 +020080 * // ...
Matthias Andreas Benkard8bbc9c12021-12-18 22:57:27 +010081 * }
Matthias Andreas Benkard0239d322022-04-15 20:21:37 +020082 * }
Matthias Andreas Benkard4c32c392021-12-12 21:23:53 +010083 */
Matthias Andreas Benkard15456c82024-07-20 10:52:54 +020084@NullMarked
Matthias Andreas Benkard261532a2021-12-12 20:09:27 +010085module eu.mulk.jgvariant.core {
Matthias Andreas Benkarde0022372022-10-09 19:32:25 +020086 requires static com.google.errorprone.annotations;
87 requires static org.apiguardian.api;
88 requires static org.jetbrains.annotations;
Matthias Andreas Benkard15456c82024-07-20 10:52:54 +020089 requires static org.jspecify;
Matthias Andreas Benkard261532a2021-12-12 20:09:27 +010090
91 exports eu.mulk.jgvariant.core;
92}