9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-19 14:59:21 +00:00

feat: support 1.21.8 alongside 1.21.7

adds support for version range expressions to the CompatibilityChecker. Also adds tests for this.
This commit is contained in:
William278
2025-07-20 14:37:05 +01:00
parent 64c81a9a5a
commit 879aef471a
20 changed files with 122 additions and 19 deletions

View File

@@ -1,3 +1,4 @@
minecraft_version_range='1.20.1'
minecraft_version_numeric=12001
minecraft_api_version=1.20
paper_api_version=1.20.1-R0.1-SNAPSHOT

View File

@@ -1,3 +1,4 @@
minecraft_version_range='1.21.1'
minecraft_version_numeric=12101
minecraft_api_version=1.21
paper_api_version=1.21.1-R0.1-SNAPSHOT

View File

@@ -1,3 +1,4 @@
minecraft_version_range='1.21.4'
minecraft_version_numeric=12104
minecraft_api_version=1.21
paper_api_version=1.21.4-R0.1-SNAPSHOT

View File

@@ -1,3 +1,4 @@
minecraft_version_range='1.21.5'
minecraft_version_numeric=12105
minecraft_api_version=1.21
paper_api_version=1.21.5-R0.1-SNAPSHOT

View File

@@ -1,3 +1,4 @@
minecraft_version_numeric=12107
minecraft_version_range='>=1.21.7 <=1.21.8'
minecraft_version_numeric=12108
minecraft_api_version=1.21
paper_api_version=1.21.7-R0.1-SNAPSHOT
paper_api_version=1.21.8-R0.1-SNAPSHOT

View File

@@ -42,6 +42,7 @@ processResources {
version: version,
paper_api_version: paper_api_version,
minecraft_version: project.name,
minecraft_version_range: minecraft_version_range,
minecraft_api_version: minecraft_api_version
])
}

View File

@@ -1,2 +1,2 @@
# File used for checking Minecraft server compatibility with this version of HuskSync
minecraft_version: '${minecraft_version}'
minecraft_version_range: '${minecraft_version_range}'