diff --git a/build.gradle b/build.gradle index 37d763fa0..87c764a1e 100644 --- a/build.gradle +++ b/build.gradle @@ -210,14 +210,10 @@ publishing { unifiedPublishing { project { releaseType = "${ENV.RELEASE_TYPE ?: 'release'}" - gameVersions = [ - rootProject.minecraft_version, - '1.21' - ] + gameVersions = Arrays.asList(rootProject.supported_versions.split(', ')) gameLoaders = ["neoforge"] displayName = "$mod_name NeoForge $project.version" changelog = "https://kubejs.com/changelog?mc=${project.minecraft_version}" - // FIXME this is a guess, it was loom's remapJar mainPublication jar relations { diff --git a/gradle.properties b/gradle.properties index 6ea1d1b1f..55ab4cf69 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,12 +10,13 @@ curseforge_id=238086 modrinth_id=umyGl7zF minecraft_version=1.21.1 +supported_versions=1.21.1, 1.21 mod_version=2101.7.0 neoforge_version=21.1.31 parchment_mc_version=1.21 parchment_mapping_version=2024.07.28 -rhino_version=2100.2.5-build.48 +rhino_version=2101.2.5-build.52 tiny_server_version=1.0.0-build.6 gif_lib_version=1.7 diff --git a/src/main/java/dev/latvian/mods/kubejs/KubeJS.java b/src/main/java/dev/latvian/mods/kubejs/KubeJS.java index 5fc9b95f5..01b728f25 100644 --- a/src/main/java/dev/latvian/mods/kubejs/KubeJS.java +++ b/src/main/java/dev/latvian/mods/kubejs/KubeJS.java @@ -42,8 +42,8 @@ public class KubeJS { public static final String MOD_ID = "kubejs"; public static final String MOD_NAME = "KubeJS"; public static final Logger LOGGER = LoggerFactory.getLogger(MOD_NAME); - public static final int MC_VERSION_NUMBER = 2006; - public static final String MC_VERSION_STRING = "1.20.6"; + public static final int MC_VERSION_NUMBER = 2101; + public static final String MC_VERSION_STRING = "1.21.1"; public static String QUERY; public static String VERSION = "0"; diff --git a/src/main/resources/META-INF/neoforge.mods.toml b/src/main/resources/META-INF/neoforge.mods.toml index 16dde9dc4..12fcf1add 100644 --- a/src/main/resources/META-INF/neoforge.mods.toml +++ b/src/main/resources/META-INF/neoforge.mods.toml @@ -1,6 +1,6 @@ modLoader = "javafml" loaderVersion = "[2,)" -issueTrackerURL = "https://kubejs.com/support?source=kubejs&mc=2006&loader=neoforge" +issueTrackerURL = "https://kubejs.com/support?source=kubejs&mc=2101&loader=neoforge" license = "GNU LGPLv3" [[mods]]