-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Fabric 1.21 #339
Support Fabric 1.21 #339
Conversation
Thanks, but I currently just want to support 1.20.1 as that's the one with cobblemon and all the mods on :) However, will keep this in mind on the side for the moment as this will become relevant in the near future. |
I compiled it myself and are running it on my server, works perfectly fine. |
@Rozbiynk That's a error related with the network status. try below changes with latest commit.(I havn't tested this) diff --git a/build.gradle b/build.gradle
index 86ac9d9..d993b38 100644
--- a/build.gradle
+++ b/build.gradle
@@ -131,7 +131,7 @@ subprojects {
}
// API publishing
- if (['common', 'bukkit', 'fabric'].contains(project.name)) {
+ if (['common', 'fabric'].contains(project.name)) {
java {
withSourcesJar()
withJavadocJar()
@@ -158,19 +158,6 @@ subprojects {
}
}
- if (['bukkit'].contains(project.name)) {
- publications {
- mavenJavaBukkit(MavenPublication) {
- groupId = 'net.william278.husksync'
- artifactId = 'husksync-bukkit'
- version = "$rootProject.version"
- artifact shadowJar
- artifact sourcesJar
- artifact javadocJar
- }
- }
- }
-
if (['fabric'].contains(project.name)) {
publications {
mavenJavaFabric(MavenPublication) {
diff --git a/settings.gradle b/settings.gradle
index fefb698..7d487df 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -8,7 +8,5 @@ pluginManagement {
rootProject.name = 'HuskSync'
include(
'common',
- 'bukkit',
- 'paper',
'fabric'
-)
\ No newline at end of file
+)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate your work here!
We're now targeting Fabric 1.20.1 in a separate branch so we'll get this merged into master. I think there's a couple things todo after merging, but that can be tidied up before a release :)
I've patched the code to reflect the breaking changes in the Fabric API and to match Minecraft 1.21.
NOTE: Please test carefully as I don't have time to test that all the features work.