Skip to content

Commit

Permalink
CI overhaul
Browse files Browse the repository at this point in the history
We need to remove the dependency on Bintray/JCenter
  • Loading branch information
mockitoguy committed May 9, 2021
1 parent 8f95dca commit bc93f41
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion gradle/shipkit.gradle
@@ -1,4 +1,3 @@
apply plugin: "org.shipkit.shipkit-auto-version"
apply plugin: "org.shipkit.shipkit-changelog"
apply plugin: "org.shipkit.shipkit-github-release"

Expand Down Expand Up @@ -42,3 +41,16 @@ static boolean shouldReleaseToCentral(project) {
}
return centralRelease
}

//TODO: remove bintray and rename this file to release.gradle
if (version.endsWith("-SNAPSHOT")) {
tasks.named("githubRelease") {
//snapshot versions do not produce changelog / GitHub releases
enabled = false
}
//TODO enable below when nexus publish plugin is applied
// tasks.named("closeAndReleaseStagingRepository") {
// //snapshot binaries are available in Sonatype without the need to close the staging repo
// enabled = false
// }
}

0 comments on commit bc93f41

Please sign in to comment.