troubleshoot gradle-plugin failures on CI release job

This commit is contained in:
Steve Ebersole 2021-10-11 14:53:10 -05:00
parent 0be2bcc0ca
commit 099ad0a007
2 changed files with 15 additions and 1 deletions

View File

@ -107,3 +107,17 @@ task ciBuild( dependsOn: [test, publish] )
task release(dependsOn: [test, publishToSonatype]) task release(dependsOn: [test, publishToSonatype])
publishToSonatype.mustRunAfter test 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}"
}
}
}
}

View File

@ -9,7 +9,7 @@ import org.apache.tools.ant.filters.ReplaceTokens
plugins { plugins {
id 'java-gradle-plugin' 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' id 'com.github.sebersole.testkit-junit5' version '1.2.0'
} }