From a6f102bb495208f3a7d5f1413f1ff35afcf16d67 Mon Sep 17 00:00:00 2001 From: Richard Harrah <1672786+ToppleTheNun@users.noreply.github.com> Date: Sun, 19 Feb 2023 18:43:55 -0500 Subject: [PATCH] use string task names instead of actual tasks (#68) --- build.gradle.kts | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 4e7867e..200e74d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -95,20 +95,16 @@ tasks { getByName("generateChangelog") { dependsOn( - getByName("compileJava"), - getByName("compileKotlin"), - getByName("javadoc"), - getByName("dokkaJavadoc"), - getByName("inspectClassesForKotlinIC"), - getByName("javadocJar"), - getByName("sourcesJar") + "compileJava", + "compileKotlin", + "javadoc", + "dokkaJavadoc", + "inspectClassesForKotlinIC", + "javadocJar", + "sourcesJar", + "generateMetadataFileForPluginMavenPublication", + "generatePomFileForPluginMavenPublication" ) - findByName("generateMetadataFileForPluginMavenPublication")?.let { - dependsOn(it) - } - findByName("generatePomFileForPluginMavenPublication")?.let { - dependsOn(it) - } } // use JUnit Jupiter