Skip to content

Commit

Permalink
Downgrade H2 from 2.3.232 to 2.2.224
Browse files Browse the repository at this point in the history
2.3.X requires Java 11+, we need to support Java 8+
  • Loading branch information
srnyx committed Nov 20, 2024
1 parent 18ab0a2 commit 0400873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies {
compileOnlyApi("org.bstats", "bstats-bukkit", "3.1.0") // Downloaded on runtime
compileOnlyApi("org.reflections", "reflections", "0.10.2") // Downloaded on runtime
compileOnly("de.tr7zw", "item-nbt-api", "2.14.0") // Downloaded on runtime
compileOnlyApi("com.h2database", "h2", "2.3.232") // Downloaded on runtime
compileOnlyApi("com.h2database", "h2", "2.2.224") // Downloaded on runtime (don't update to keep support for Java 8)
compileOnlyApi("org.postgresql", "postgresql", "42.7.4") // Downloaded on runtime
compileOnlyApi("org.jetbrains", "annotations", "26.0.1")
implementationRelocate(project, "net.byteflux:libby-bukkit:1.3.1", "net.byteflux.libby")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public enum RuntimeLibrary implements AnnoyingLibrary {
.repository(Repositories.MAVEN_CENTRAL)
.groupId("com{}h2database")
.artifactId("h2")
.version("2.3.232"),
.version("2.2.224"), // Don't update to keep support for Java 8
plugin -> Collections.singleton(plugin.getRelocation("org{}h2"))),
/**
* {@code org.postgresql:postgresql}
Expand Down

0 comments on commit 0400873

Please sign in to comment.