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
I'm guessing gradle plugin publish creates the publication? And they are probably created after your script is evaluated?
We could do something like publications.configureEach {} and check for the name of the poublication in there to make everything more lazy. This always gets me a bit itchy because it goes in callback hell land but this is probably the way forward here. I'll dig!
Expected and Results
I have a publication named “pluginMaven” and “com.foo.pluginMarkerMaven”.
My nmcp block is configured like so:
The build fails with
Nmcp: cannot find publication 'pluginMaven'. Candidates are: ‘’
I would expect it not to fail.To fix this I add afterEvaluate.
Related environent and versions
I’m using Gradle 8.12.1 and nmcp 0.0.8 and gradle plugin publish 1.3.1
Reproduction steps
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: