aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorisXander <xandersmith2008@gmail.com>2023-05-17 17:46:48 +0100
committerisXander <xandersmith2008@gmail.com>2023-05-17 17:46:48 +0100
commitfd7f3b10699be0033374dfc1b5364a7d64ce34d2 (patch)
tree46fcf4ae6ed0bc6609cf236809885634f931affa /build.gradle.kts
parent26c00c18d7ccf3cda76899082b4d91f20246829b (diff)
downloadYetAnotherConfigLib-fd7f3b10699be0033374dfc1b5364a7d64ce34d2.tar.gz
YetAnotherConfigLib-fd7f3b10699be0033374dfc1b5364a7d64ce34d2.tar.bz2
YetAnotherConfigLib-fd7f3b10699be0033374dfc1b5364a7d64ce34d2.zip
fix github release
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index d2bb6c0..42f57e0 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -91,10 +91,10 @@ githubRelease {
targetCommitish(grgit.branch.current().name)
body(changelogText)
releaseAssets(
- { project(":fabric").tasks["remapJar"].outputs.files },
- { project(":fabric").tasks["remapSourcesJar"].outputs.files },
- { project(":forge").tasks["remapJar"].outputs.files },
- { project(":forge").tasks["remapSourcesJar"].outputs.files },
+ { findProject(":fabric")?.tasks?.get("remapJar")?.outputs?.files },
+ { findProject(":fabric")?.tasks?.get("remapSourcesJar")?.outputs?.files },
+ { findProject(":forge")?.tasks?.get("remapJar")?.outputs?.files },
+ { findProject(":forge")?.tasks?.get("remapSourcesJar")?.outputs?.files },
)
}