diff --git a/build.gradle.kts b/build.gradle.kts index a1a9473..9307004 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ plugins { } group = "com.oroarmor" -version = "1.2.1" + (if (System.getenv("GITHUB_RUN_NUMBER") != null) "" else "-local") +version = "1.2.2" + (if (System.getenv("GITHUB_RUN_NUMBER") != null) "" else "-local") repositories { mavenCentral() diff --git a/src/main/java/com/oroarmor/orogradleplugin/minecraft/MinecraftPublishingExtension.java b/src/main/java/com/oroarmor/orogradleplugin/minecraft/MinecraftPublishingExtension.java index 901ec6e..fc8f7aa 100644 --- a/src/main/java/com/oroarmor/orogradleplugin/minecraft/MinecraftPublishingExtension.java +++ b/src/main/java/com/oroarmor/orogradleplugin/minecraft/MinecraftPublishingExtension.java @@ -67,8 +67,8 @@ public MinecraftPublishingExtension(Project target) { conf.getVersionNumber().set(target.getVersion().toString()); conf.getUploadFile().set(modTask); conf.getGameVersions().set(gameVersions); - conf.getLoaders().addAll(loaders); target.afterEvaluate(project -> { + conf.getLoaders().addAll(loaders.get().stream().map(String::toLowerCase).toList()); conf.getDependencies().set( dependencies.stream().map(ModDependency::toModrinthDependency).toList() );