kordamp / kordamp-gradle-plugins

A collection of Gradle plugins
https://kordamp.org/kordamp-gradle-plugins/
Apache License 2.0
138 stars 25 forks source link

Semantic versioning? #175

Open wsargent opened 5 years ago

wsargent commented 5 years ago

I've been trying to figure out how to release projects with tag based semantic versioning using nebula.release and/or https://github.com/nemerosa/versioning and it seems like these plugins interfere with the Kordamp Bintray Plugin or the Publishing plugin -- either no files show up in bintray at all on bintray release, or they create a project with no files available.

I'm looking for something similar to https://github.com/researchgate/gradle-release but it seems like I'd have to disable Kordamp's bintray/publishing plugins in that case and I'm not sure of how to do that.

What do you usually do for versioning based off tags?

aalmiray commented 5 years ago

All plugins can be disabled using the DSL. For example disabling bintray and publishing can be done in this way

config {
    bintray { enabled = false }
    publishing { enabled = false }
}

Personally I don't automate versioning based on tags but there are a few alternatives to the gradle-release plugin such as https://github.com/mockito/shipkit and https://github.com/tschulte/gradle-semantic-release-plugin