blob: b0b61a7ba0ec6279c8c1f6f1cb7fcbabd1b46dac [file] [log] [blame]
// 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.8</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.8"))
* 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;
}