From f9cf948787d64b5e57083bd4cf27fbd9fd189eea Mon Sep 17 00:00:00 2001 From: Username404-59 <53659497+Username404-59@users.noreply.github.com> Date: Sat, 8 May 2021 16:23:19 +0200 Subject: [PATCH] Make addDependency public and bump version to 1.2.1 (#8) * Make addDependency public * Bump version --- gradle.properties | 2 +- src/main/java/com/modrinth/minotaur/TaskModrinthUpload.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index ea18935..bf5ece7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ org.gradle.daemon=false -project_version=1.2.0 +project_version=1.2.1 group=com.modrinth.minotaur archivesBaseName=Minotaur vendor=Modrinth \ No newline at end of file diff --git a/src/main/java/com/modrinth/minotaur/TaskModrinthUpload.java b/src/main/java/com/modrinth/minotaur/TaskModrinthUpload.java index 6684f73..8fe43ff 100644 --- a/src/main/java/com/modrinth/minotaur/TaskModrinthUpload.java +++ b/src/main/java/com/modrinth/minotaur/TaskModrinthUpload.java @@ -158,7 +158,7 @@ public void addLoader (String loader) { * @param versionId The version to add a dependency with. * @param type The type of dependency to add. */ - private void addDependency(String versionId, Dependency.DependencyType type) { + public void addDependency(String versionId, Dependency.DependencyType type) { this.dependencies.add(new Dependency(versionId, type)); this.getLogger().debug("Added {} dependency with version ID {}.", type, versionId);