troubleshoot gradle-plugin failures on CI release job
This commit is contained in:
parent
0be2bcc0ca
commit
099ad0a007
|
@ -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}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue