Skip to content

Commit

Permalink
Fix issue with modrinth loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
OroArmor committed Mar 16, 2023
1 parent 82e92bc commit 55c3143
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
Expand Down

0 comments on commit 55c3143

Please sign in to comment.