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