Skip to content

Commit 2ec6a6a

Browse files
committed
Fix error running publishMods
1 parent 49f5b52 commit 2ec6a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ tasks.named("build") {
215215
}
216216

217217
publishMods {
218-
file.set(tasks.named<Jar>(finalJarTask).get().outputs.files.singleFile)
218+
file.set(tasks.named<Jar>(finalJarTask).flatMap { it.archiveFile })
219219
changelog = "Please check the [GitHub wiki](https://github.com/embeddedt/ModernFix/wiki/Changelog) for major changes."
220220
type = STABLE
221221

0 commit comments

Comments
 (0)