Skip to content

Commit

Permalink
fix: compatibility with Java < 16 on Bukkit
Browse files Browse the repository at this point in the history
  • Loading branch information
Cubxity committed Jul 26, 2021
1 parent a04a87b commit 447f1da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ See the [wiki](https://github.com/Cubxity/UnifiedMetrics/wiki/Grafana) for detai

**Requirements:**

- JDK 16+
- JDK 11+
- Git (Optional)

To build UnifiedMetrics, you need to obtain the source code first. You can download the source from GitHub or use the
Expand Down
5 changes: 1 addition & 4 deletions bukkit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,10 @@ repositories {

dependencies {
api(project(":unifiedmetrics-core"))
compileOnly("io.papermc.paper", "paper-api", "1.17.1-R0.1-SNAPSHOT")
compileOnly("com.destroystokyo.paper", "paper-api", "1.16.5-R0.1-SNAPSHOT")
}

tasks {
compileKotlin {
kotlinOptions.jvmTarget = "16"
}
shadowJar {
archiveClassifier.set("")
}
Expand Down

0 comments on commit 447f1da

Please sign in to comment.