You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.
This will let the nexus plugin be applied in any order, right now it requires being applied after the java-base plugin, which makes it a little hard to reference via an init script.
Though, in the end this plugin shouldn't be generating source jars implicitly, that should be the job of another plugin.
The text was updated successfully, but these errors were encountered:
In hindsight it would have been better to have a separate plugin for the defining the archive tasks. It shouldn't really be the concern of a publishing plugin. Would you be interested in working on a pull request for lazily applying the source sets?
Lucky for me, bintray is now out. And the gradle-bintray-plugin doesn't have this problem, hence I don't really need this plugin any more. So, it's unlucky for me to contribute. Sorry.
In https://github.com/bmuschko/gradle-nexus-plugin/blob/master/src/main/groovy/org/gradle/api/plugins/nexus/NexusPlugin.groovy#L62 it's referencing sourceSets directly. It should be using a form of matching:
This will let the nexus plugin be applied in any order, right now it requires being applied after the java-base plugin, which makes it a little hard to reference via an init script.
Though, in the end this plugin shouldn't be generating source jars implicitly, that should be the job of another plugin.
The text was updated successfully, but these errors were encountered: