This message was deleted.
# configuration-cache
s
This message was deleted.
v
Maybe something like
tasks.clean { publications.all { delete(...) } }
?
r
That still seems to capture the
artifactId
too early
v
Ah right, of course. Somehow misread that the marker publication is added too late. But with
all
you access its value before it gets properly configured. 😕
r
The method
MavenPublicationInternal#getMavenProjectIdentity()
would be perfect if it were public
That
MutableMavenProjectIdentity
field is where the group/artifact/version are actually stored
The practical impact here isn't huge (I basically can't delete locally published Gradle plugin markers), but I wanted to make sure there wasn't a clever trick I was overlooking
v
Maybe there is, I don't know. 🙂