Skip to content

Commit

Permalink
Update readme and update gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
770grappenmaker committed Jul 30, 2024
1 parent dce45c5 commit aa63d42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Several mappings formats are supported, like SRG, XSRG, Tiny (v1 and v2), Progua
**Important: this is a Kotlin-first library.** This means that this library was written in Kotlin and with Kotlin in mind. You can use this library in Java as well, albeit probably with a slightly worse experience (extension functions do not exist in Java, for example). Using Kotlin is highly recommended.

### Usage
`mappings-util` is on Maven Central, and can be linked in your project depending on the build system.
`mappings-util` is on [Maven Central](https://central.sonatype.com/artifact/io.github.770grappenmaker/mappings-util),
and can be linked in your project depending on the build system.

#### Gradle (Kotlin DSL)
```kotlin
Expand All @@ -14,7 +15,7 @@ repositories {
}

dependencies {
implementation("io.github.770grappenmaker:mappings-util:0.1.5")
implementation("io.github.770grappenmaker:mappings-util:0.1.7")
}
```
#### Maven
Expand All @@ -23,13 +24,13 @@ dependencies {
<dependency>
<groupId>io.github.770grappenmaker</groupId>
<artifactId>mappings-util</artifactId>
<version>0.1.5</version>
<version>0.1.7</version>
</dependency>
</dependencies>
```

### Docs
Available in [Github Pages](https://770grappenmaker.github.io/mappings-util/).
Available in [GitHub Pages](https://770grappenmaker.github.io/mappings-util/).

### Examples
Note: these examples are in Kotlin, but can be applied in Java as well.
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit aa63d42

Please sign in to comment.