diff --git a/test_runner/build.gradle.kts b/test_runner/build.gradle.kts index 9c538ad858..6e2da3ee84 100644 --- a/test_runner/build.gradle.kts +++ b/test_runner/build.gradle.kts @@ -69,9 +69,8 @@ publishing { version = System.getenv("MVN_VERSION") artifact(shadowJar) - // TODO: Is there a better way to fetch these paths? - artifact("./build/libs/${flankGroup}-${flankVersion}-javadoc.jar") - artifact("./build/libs/${flankGroup}-${flankVersion}-sources.jar") + artifact(tasks["javadocJar"]) + artifact(tasks["sourcesJar"]) pom { name.set("Flank")