Skip to content

Commit

Permalink
Compile with target java 21, remove unsupported MC versions (#2836)
Browse files Browse the repository at this point in the history
* Compile with target java 21, remove unsupported MC versions

* update bug report template
  • Loading branch information
SirYwell authored Jul 21, 2024
1 parent 561ef4a commit 2e1a8f9
Show file tree
Hide file tree
Showing 37 changed files with 6 additions and 17,139 deletions.
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ body:
description: Which server version version you using? If your server version is not listed, it is not supported. Update to a supported version first.
multiple: false
options:
- '1.20.5/6'
- '1.20'
- '1.19.4'
- '1.21'
- '1.20.6'
- '1.20.4'
- '1.20.2'
validations:
required: true

Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/CommonJavaConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fun Project.applyCommonJavaConfiguration(sourcesJar: Boolean, banSlf4j: Boolean
val disabledLint = listOf(
"processing", "path", "fallthrough", "serial", "overloads", "this-escape",
)
options.release.set(17)
options.release.set(21)
options.compilerArgs.addAll(listOf("-Xlint:all") + disabledLint.map { "-Xlint:-$it" })
options.isDeprecation = true
options.encoding = "UTF-8"
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ rootProject.name = "FastAsyncWorldEdit"

include("worldedit-libs")

listOf("1_19_4", "1_20", "1_20_2", "1_20_4", "1_20_5", "1_21").forEach {
listOf("1_20_2", "1_20_4", "1_20_5", "1_21").forEach {
include("worldedit-bukkit:adapters:adapter-$it")
}

Expand Down
17 changes: 0 additions & 17 deletions worldedit-bukkit/adapters/adapter-1_19_4/build.gradle.kts

This file was deleted.

Loading

0 comments on commit 2e1a8f9

Please sign in to comment.