Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ntsAPI into master
  • Loading branch information
ZockerAxel committed Jun 15, 2024
2 parents 8fe3d47 + c9f7058 commit a314243
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CrazyAdvancementsAPI is an API for creating and managing Advancements programmat


## Maven
Maven only works in API Version 2.1.17a and higher.
Maven with Jitpack only works in API Version 2.1.17a and higher.

First, add the Jitpack Repository to your repositories
```xml
Expand All @@ -27,7 +27,7 @@ Then, add the following to your dependencies:
</dependency>
```
Or for mojang-mapped jar:
```
```xml
<dependency>
<groupId>com.github.ZockerAxel</groupId>
<artifactId>CrazyAdvancementsAPI</artifactId>
Expand All @@ -37,17 +37,17 @@ Or for mojang-mapped jar:
```


Replace VERSION with the Version you want, for example for v2.1.17a, you would use:
Replace VERSION with the Version you want, for example for v2.1.18a, you would use:
```xml
<dependency>
<groupId>com.github.ZockerAxel</groupId>
<artifactId>CrazyAdvancementsAPI</artifactId>
<version>v2.1.17a</version>
<version>v2.1.18a</version>
</dependency>
```

## Gradle
Gradle only works in API Version 2.1.17a and higher.
Gradle with Jitpack only works in API Version 2.1.17a and higher.

First, add the Jitpack Repository to your repositories
```kts
Expand All @@ -68,10 +68,10 @@ dependencies {
}
```

And replace VERSION with the Version you want, for exmaple for v2.1.17a, you would use:
And replace VERSION with the Version you want, for exmaple for v2.1.18a, you would use:
```kts
dependencies {
compileOnly("com.github.ZockerAxel:CrazyAdvancementsAPI:v2.1.17a")
compileOnly("com.github.ZockerAxel:CrazyAdvancementsAPI:v2.1.18a")
}
```

Expand Down
4 changes: 2 additions & 2 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
jdk:
- openjdk17
- openjdk21
install:
- ./gradlew reobfJar publishToMavenLocal
- ./gradlew reobfJar publishToMavenLocal

0 comments on commit a314243

Please sign in to comment.