From 1018ab6088a3db66bdd0d2bd3d5e23d5be1fe7e9 Mon Sep 17 00:00:00 2001 From: Tudor Timi Date: Sat, 5 Mar 2022 09:38:04 -0800 Subject: [PATCH 1/3] Add "Plugin Publishing" plugin This enables publishing to the Gradle Plugin Portal. --- build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle.kts b/build.gradle.kts index 06aad0c..5ae312c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,6 +2,7 @@ plugins { id("java-gradle-plugin") id("groovy") id("maven-publish") + id("com.gradle.plugin-publish") version "0.20.0" } apply(from = "$rootDir/gradle/functional-test.gradle") From 2438e2dd8d77fd82db6870049d1f3213d4319a26 Mon Sep 17 00:00:00 2001 From: Tudor Timi Date: Sat, 5 Mar 2022 09:49:06 -0800 Subject: [PATCH 2/3] Update plugin publishing info --- build.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 5ae312c..d370d62 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,6 +5,12 @@ plugins { id("com.gradle.plugin-publish") version "0.20.0" } +pluginBundle { + website = "https://github.com/tudortimi/gradle-hdvl/blob/master/README.md" + vcsUrl = "https://github.com/tudortimi/gradle-hdvl" + tags = listOf("SystemVerilog", "HDL", "hardware", "verification", "Xcelium", "QuestaSim", "SVUnit") +} + apply(from = "$rootDir/gradle/functional-test.gradle") group = "com.verificationgentleman.gradle" From 511b43a6b099042fc6e2a6ec51a79cee3d20bc7a Mon Sep 17 00:00:00 2001 From: Tudor Timi Date: Sat, 5 Mar 2022 10:05:29 -0800 Subject: [PATCH 3/3] Fix Javadoc for `RunSVUnitToolChain` Documentation is now produced when publishing. This step fails if there are errors in the Javadoc. --- .../gradle/hdvl/svunit/RunSVUnitToolChain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/verificationgentleman/gradle/hdvl/svunit/RunSVUnitToolChain.java b/src/main/java/com/verificationgentleman/gradle/hdvl/svunit/RunSVUnitToolChain.java index 59d1fb8..0960d24 100644 --- a/src/main/java/com/verificationgentleman/gradle/hdvl/svunit/RunSVUnitToolChain.java +++ b/src/main/java/com/verificationgentleman/gradle/hdvl/svunit/RunSVUnitToolChain.java @@ -10,7 +10,7 @@ public interface RunSVUnitToolChain extends ToolChain { /** * Configures the command line args. * - * @param configureClosure The closure to use to configure the command line args + * @param args The arg values to append * @return this */ RunSVUnitToolChain args(String... args);