Skip to content

Commit

Permalink
Fix "Task with name 'jar' not found" error (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
triphora authored Mar 18, 2022
1 parent 3f4f065 commit b27fc1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
id 'maven-publish'
}

version = '2.1.0'
version = '2.1.1'
group = 'com.modrinth.minotaur'
archivesBaseName = 'Minotaur'
description = 'Modrinth plugin for publishing builds to the website!'
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/modrinth/minotaur/ModrinthExtension.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public ModrinthExtension(Project project) {
versionNumber = project.getObjects().property(String.class);
versionName = project.getObjects().property(String.class);
changelog = project.getObjects().property(String.class).convention("No changelog was specified.");
uploadFile = project.getObjects().property(Object.class).convention(project.getTasks().getByName("jar"));
uploadFile = project.getObjects().property(Object.class);
additionalFiles = project.getObjects().listProperty(Object.class).empty();
versionType = project.getObjects().property(String.class).convention("release");
gameVersions = project.getObjects().listProperty(String.class).empty();
Expand Down

0 comments on commit b27fc1b

Please sign in to comment.