Update to 1.20 (#2276)

* Towards 1.20

* Init bukkit

* Update YAML to 2.0

* Fixes for 1.20 adapters

* Update obfuscated field names

* Remove getHandle workaround

* entityManager is obfuscated

* Update paperweight

* [ci-skip] Add 1.20 to modrinth task

---------

Co-authored-by: Phillipp Glanz <p.glanz@madfix.me>
Co-authored-by: SirYwell <hannesgreule@outlook.de>
This commit is contained in:
Alexander Brandes
2023-06-09 12:53:42 +02:00
committed by GitHub
parent 152d870cdb
commit e7876c4eba
38 changed files with 9038 additions and 47 deletions

View File

@ -12,7 +12,7 @@ applyPlatformAndCoreConfiguration()
dependencies {
constraints {
implementation("org.yaml:snakeyaml") {
version { strictly("1.33") }
version { strictly("2.0") }
because("Bukkit provides SnakeYaml")
}
}
@ -28,7 +28,8 @@ dependencies {
implementation("com.google.code.gson:gson")
// Platform expectations
implementation("org.yaml:snakeyaml")
// TODO update bom-newest
implementation("org.yaml:snakeyaml:2.0")
// Logging
implementation("org.apache.logging.log4j:log4j-api")