-
Notifications
You must be signed in to change notification settings - Fork 3
Please support multi-project publishing #16
Comments
Hmm never had this setup in mind. But I will try and play around and see how hard it is to support. |
Maybe it is sufficient to be able to configure whether an existing tag should fail the build or add the files or something like that. |
Actually I'm happy with how I have it now, with |
I had in mind to reference configurations: Lines 93 to 132 in 9d31fe5
I have no test with a multi project setup at the moment. I should add this because configuration and artifact handling is a little bit fuzzy on my part. But like in the test you could define dependencies to the sub project configuration or fileTree's Updating Releases is on my roadmap but I had no real use case. |
Yeah, seen this in the docs, but I've seen no point in declaring my artifacts again, when what I want to publish is already defined as artifacts for the archives configuration as shown in my example. You could add a test for that though. |
OK. |
Yes, in my case this is exactly what I wanted and yes, being a |
Description =========== This patch adds multiple smaller changes and updates into one. Creating multiple patches would seem silly as some of them are really one liners. Update to gradle 6.9 -------------------- Gradle released one last version in the 6.x range which contains a few additions only available in Gradle 7. > It will take a while for everyone to upgrade to the latest major > Gradle 7.0 release. In order to bring some of the improvements sooner > to users that can’t upgrade to Gradle 7.0 yet, we released > Gradle 6.9 backport release. > Gradle 6.9 backports limited support for Java 16, dynamic versions > in the plugins block, and native support for Apple Silicon. > See [release](https://go.gradle.com/e/68052/6-9-release-notes-html/dhvx4x/504521087?h=84TuUktWbb5clAIdOkfNQJf3cGD2jpV0M9TzM-Wu6Dc) notes for details. Github assets API change ------------------------ The `getAssets()` API has a deprecation warning > Deprecated > The behavior of this method will change in a future release. > It will then provide cached assets as provided by assets(). > Use listAssets() instead to fetch up-to-date information of assets. I switched to `listAssets` to keep the same behavior for now. In the future we need to check which API is best suited for our usecases. Add a missing asset upload test case ------------------------------------ I finally provided the testcase outlined in issue #16. This added test is just here to proov that this usecase is still supported. Other ----- Then there is smaller changes in the documentation and Readme. Changes ======= * ![UPDATE] ![GRADLE] to `6.9` * ![UPDATE] `net.wooga.plugins` to `2.1.1` * ![IMPROVE] asset uploads tests * ![CHANGE] use `listAssets()` instead of `getAssets` from github API * ![IMPROVE] smaller updates to README.md
Description =========== This patch adds multiple smaller changes and updates into one. Creating multiple patches would seem silly as some of them are really one liners. Update to gradle 6.9 -------------------- Gradle released one last version in the 6.x range which contains a few additions only available in Gradle 7. > It will take a while for everyone to upgrade to the latest major > Gradle 7.0 release. In order to bring some of the improvements sooner > to users that can’t upgrade to Gradle 7.0 yet, we released > Gradle 6.9 backport release. > Gradle 6.9 backports limited support for Java 16, dynamic versions > in the plugins block, and native support for Apple Silicon. > See [release](https://go.gradle.com/e/68052/6-9-release-notes-html/dhvx4x/504521087?h=84TuUktWbb5clAIdOkfNQJf3cGD2jpV0M9TzM-Wu6Dc) notes for details. Github assets API change ------------------------ The `getAssets()` API has a deprecation warning > Deprecated > The behavior of this method will change in a future release. > It will then provide cached assets as provided by assets(). > Use listAssets() instead to fetch up-to-date information of assets. I switched to `listAssets` to keep the same behavior for now. In the future we need to check which API is best suited for our usecases. Add a missing asset upload test case ------------------------------------ I finally provided the testcase outlined in issue #16. This added test is just here to proov that this usecase is still supported. Other ----- Then there is smaller changes in the documentation and Readme. Changes ======= * ![UPDATE] ![GRADLE] to `6.9` * ![UPDATE] `net.wooga.plugins` to `2.1.1` * ![IMPROVE] asset uploads tests * ![CHANGE] use `listAssets()` instead of `getAssets` from github API * ![IMPROVE] smaller updates to README.md
Description =========== This patch adds multiple smaller changes and updates into one. Creating multiple patches would seem silly as some of them are really one liners. Update to gradle 6.9 -------------------- Gradle released one last version in the 6.x range which contains a few additions only available in Gradle 7. > It will take a while for everyone to upgrade to the latest major > Gradle 7.0 release. In order to bring some of the improvements sooner > to users that can’t upgrade to Gradle 7.0 yet, we released > Gradle 6.9 backport release. > Gradle 6.9 backports limited support for Java 16, dynamic versions > in the plugins block, and native support for Apple Silicon. > See [release](https://go.gradle.com/e/68052/6-9-release-notes-html/dhvx4x/504521087?h=84TuUktWbb5clAIdOkfNQJf3cGD2jpV0M9TzM-Wu6Dc) notes for details. Github assets API change ------------------------ The `getAssets()` API has a deprecation warning > Deprecated > The behavior of this method will change in a future release. > It will then provide cached assets as provided by assets(). > Use listAssets() instead to fetch up-to-date information of assets. I switched to `listAssets` to keep the same behavior for now. In the future we need to check which API is best suited for our usecases. Add a missing asset upload test case ------------------------------------ I finally provided the testcase outlined in issue #16. This added test is just here to proov that this usecase is still supported. Other ----- Then there is smaller changes in the documentation and Readme. Changes ======= * ![UPDATE] ![GRADLE] to `6.9` * ![UPDATE] `net.wooga.plugins` to `2.1.1` * ![IMPROVE] asset uploads tests * ![CHANGE] use `listAssets()` instead of `getAssets` from github API * ![IMPROVE] smaller updates to README.md
I have a root project and two sub-modules in the same GitHub repo.
If I apply the plugin to all projects, it fails because of "release does already exist".
Of course I can only apply the plugin to the root project and collect the artifacts to be published there, but it would of course be nice if this just worked if possible. :-)
The text was updated successfully, but these errors were encountered: