remove deprecated code and use modern methods/classes/code where applicable

This commit is contained in:
Jack
2024-07-23 23:23:11 -04:00
parent d2796f7992
commit cca328c5ee
5 changed files with 24 additions and 8 deletions

View File

@@ -24,7 +24,19 @@ dependencies {
}
shadowJar {
relocate('org.bstats', 'io.github.jack1424.realtimeweather')
relocate('org.bstats', 'io.github.jack1424.realTimeWeather')
}
tasks.jar {
manifest {
attributes["paperweight-mappings-namespace"] = "mojang"
}
}
tasks.shadowJar {
manifest {
attributes["paperweight-mappings-namespace"] = "mojang"
}
}
def targetJavaVersion = 21