From 099ad0a00711ceef7185a971173681227ed777da Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Mon, 11 Oct 2021 14:53:10 -0500 Subject: [PATCH] troubleshoot gradle-plugin failures on CI release job --- gradle/published-java-module.gradle | 14 ++++++++++++++ .../hibernate-gradle-plugin.gradle | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/gradle/published-java-module.gradle b/gradle/published-java-module.gradle index c358a3dd0d..02ad2eac9d 100644 --- a/gradle/published-java-module.gradle +++ b/gradle/published-java-module.gradle @@ -107,3 +107,17 @@ task ciBuild( dependsOn: [test, publish] ) task release(dependsOn: [test, publishToSonatype]) publishToSonatype.mustRunAfter test + +// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +// Ancillary tasks + +task showPublications { + doFirst { + project.publishing.publications.each { publication -> + println "Publication (${publication.name}): ${publication.groupId}:${publication.artifactId}:${publication.version}" + publication.artifacts.each { artifact -> + println " > ${artifact}" + } + } + } +} \ No newline at end of file diff --git a/tooling/hibernate-gradle-plugin/hibernate-gradle-plugin.gradle b/tooling/hibernate-gradle-plugin/hibernate-gradle-plugin.gradle index 76b99d23c5..33ee877707 100644 --- a/tooling/hibernate-gradle-plugin/hibernate-gradle-plugin.gradle +++ b/tooling/hibernate-gradle-plugin/hibernate-gradle-plugin.gradle @@ -9,7 +9,7 @@ import org.apache.tools.ant.filters.ReplaceTokens plugins { id 'java-gradle-plugin' - id 'com.gradle.plugin-publish' version '0.14.0' + id 'com.gradle.plugin-publish' version '0.16.0' id 'com.github.sebersole.testkit-junit5' version '1.2.0' }