1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-09-05 20:07:56 +00:00

Fix several deprecation warnings

- Switch to the new networking API, just doing sneaky things to make it
   the same as the old networking API.
 - Use new FabricLoader API
 - Don't use the static final game version, as this may change if people
   run the mod on newer versions.
This commit is contained in:
Jonathan Coates
2021-12-17 11:56:46 +00:00
parent 7b3537761b
commit cbe3cb8b3e
26 changed files with 84 additions and 60 deletions

View File

@@ -237,13 +237,7 @@ task licenseFormatAPI(type: LicenseFormat)
publishing {
publications {
mavenJava(MavenPublication) {
// add all the jars that should be included when publishing to maven
artifact(remapJar) {
builtBy remapJar
}
artifact(sourcesJar) {
builtBy remapSourcesJar
}
from components.java
}
}