From 3a371da240c33adada3326519b76284e4792e1f9 Mon Sep 17 00:00:00 2001 From: Treetrain1 Date: Tue, 11 Apr 2023 20:31:35 -0500 Subject: [PATCH] fix curseforge publishing --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 40900c621c..3ac2182422 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -539,12 +539,12 @@ curseforge { mainArtifact(remapJar, closureOf { displayName = display_name }) - addArtifact(tasks.remapSourcesJar) + addArtifact(tasks.remapSourcesJar.get()) addArtifact(javadocJar) afterEvaluate { uploadTask.dependsOn(remapJar) - uploadTask.dependsOn(tasks.remapSourcesJar) + uploadTask.dependsOn(tasks.remapSourcesJar.get()) uploadTask.dependsOn(javadocJar) } })