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