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 | 15456c8 | 2024-07-20 10:52:54 +0200 | [diff] [blame] | 5 | import org.jspecify.annotations.NullMarked; |
| 6 | |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 7 | /** |
Matthias Andreas Benkard | aa29484 | 2021-12-28 01:31:56 +0100 | [diff] [blame] | 8 | * {@link eu.mulk.jgvariant.core.Decoder} instances for OSTree repositories. |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 9 | * |
| 10 | * <ul> |
| 11 | * <li><a href="#sect-overview">Overview</a> |
| 12 | * <li><a href="#sect-installation">Installation</a> |
| 13 | * </ul> |
| 14 | * |
| 15 | * <h2 id="sect-overview">Overview</h2> |
| 16 | * |
| 17 | * <p>The {@link eu.mulk.jgvariant.ostree} package contains record classes describing the elements |
| 18 | * of <a href="https://ostreedev.github.io/ostree/">OSTree</a> repositories and factory methods to |
| 19 | * create {@link eu.mulk.jgvariant.core.Decoder} instances for them. |
| 20 | * |
| 21 | * <h2 id="sect-installation">Installation</h2> |
| 22 | * |
| 23 | * <ul> |
| 24 | * <li><a href="#sect-installation-maven">Usage with Maven</a> |
| 25 | * <li><a href="#sect-installation-gradle">Usage with Gradle</a> |
| 26 | * </ul> |
| 27 | * |
| 28 | * <h3 id="sect-installation-maven">Usage with Maven</h3> |
| 29 | * |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 30 | * {@snippet lang="xml" : |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 31 | * <project> |
| 32 | * ... |
| 33 | * |
| 34 | * <dependencyManagement> |
| 35 | * ... |
| 36 | * |
| 37 | * <dependencies> |
| 38 | * <dependency> |
| 39 | * <groupId>eu.mulk.jgvariant</groupId> |
| 40 | * <artifactId>jgvariant-bom</artifactId> |
Matthias Andreas Benkard | 63382ac | 2023-12-11 20:30:38 +0100 | [diff] [blame] | 41 | * <version>0.1.8</version> |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 42 | * <type>pom</type> |
| 43 | * <scope>import</scope> |
| 44 | * </dependency> |
| 45 | * </dependencies> |
| 46 | * |
| 47 | * ... |
| 48 | * </dependencyManagement> |
| 49 | * |
| 50 | * <dependencies> |
| 51 | * ... |
| 52 | * |
| 53 | * <dependency> |
| 54 | * <groupId>eu.mulk.jgvariant</groupId> |
| 55 | * <artifactId>jgvariant-core</artifactId> |
| 56 | * </dependency> |
| 57 | * <dependency> |
| 58 | * <groupId>eu.mulk.jgvariant</groupId> |
| 59 | * <artifactId>jgvariant-ostree</artifactId> |
| 60 | * </dependency> |
| 61 | * |
| 62 | * ... |
| 63 | * </dependencies> |
| 64 | * |
| 65 | * ... |
| 66 | * </project> |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 67 | * } |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 68 | * |
| 69 | * <h3 id="sect-installation-gradle">Usage with Gradle</h3> |
| 70 | * |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 71 | * {@snippet lang="groovy" : |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 72 | * dependencies { |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 73 | * // ... |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 74 | * |
Matthias Andreas Benkard | 63382ac | 2023-12-11 20:30:38 +0100 | [diff] [blame] | 75 | * implementation(platform("eu.mulk.jgvariant:jgvariant-bom:0.1.8")) |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 76 | * implementation("eu.mulk.jgvariant:jgvariant-core") |
| 77 | * implementation("eu.mulk.jgvariant:jgvariant-ostree") |
| 78 | * |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 79 | * // ... |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 80 | * } |
Matthias Andreas Benkard | 0239d32 | 2022-04-15 20:21:37 +0200 | [diff] [blame] | 81 | * } |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 82 | */ |
Matthias Andreas Benkard | 15456c8 | 2024-07-20 10:52:54 +0200 | [diff] [blame] | 83 | @NullMarked |
Matthias Andreas Benkard | a7e9d52 | 2021-12-28 01:37:47 +0100 | [diff] [blame] | 84 | module eu.mulk.jgvariant.ostree { |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 85 | requires transitive eu.mulk.jgvariant.core; |
Matthias Andreas Benkard | e002237 | 2022-10-09 19:32:25 +0200 | [diff] [blame] | 86 | |
Matthias Andreas Benkard | 50a626d | 2021-12-30 19:13:49 +0100 | [diff] [blame] | 87 | requires org.tukaani.xz; |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 88 | |
Matthias Andreas Benkard | e002237 | 2022-10-09 19:32:25 +0200 | [diff] [blame] | 89 | requires static com.google.errorprone.annotations; |
| 90 | requires static org.apiguardian.api; |
| 91 | requires static org.jetbrains.annotations; |
Matthias Andreas Benkard | 15456c8 | 2024-07-20 10:52:54 +0200 | [diff] [blame] | 92 | requires static org.jspecify; |
Matthias Andreas Benkard | e002237 | 2022-10-09 19:32:25 +0200 | [diff] [blame] | 93 | |
Matthias Andreas Benkard | 4e8423d | 2021-12-19 22:56:09 +0100 | [diff] [blame] | 94 | exports eu.mulk.jgvariant.ostree; |
| 95 | } |