Caleb Cushing
07/04/2024, 2:30 PMPhilip W
07/04/2024, 2:32 PMThomas Broyer
07/04/2024, 2:33 PMVampire
07/04/2024, 2:34 PMVampire
07/04/2024, 2:35 PMI wouldn't say "the gradle plugin portal is just a regular maven repository under the hood": it uses a special plugin for publishing.But it is. It even uses the
maven-publish plugin for the actual artifact publishing.
It just has on top a layer with the metadata shown in the UI and that is probably transmitted then by the special publish task?Thomas Broyer
07/04/2024, 2:35 PMThomas Broyer
07/04/2024, 2:36 PMIt even uses theOh, does it? I thought it only used it to generate the POMs but then published artifacts by itself.plugin for the actual artifact publishing.maven-publish
Philip W
07/04/2024, 2:37 PM:publish and not specify specific publications.Philip W
07/04/2024, 2:40 PMCaleb Cushing
07/04/2024, 2:41 PMSergej KoĆĄÄejev
07/04/2024, 2:42 PMpublish task instead of publishPlugins.Caleb Cushing
07/04/2024, 2:44 PMid("foo.bar") version( ... ) will workSergej KoĆĄÄejev
07/04/2024, 2:44 PMSergej KoĆĄÄejev
07/04/2024, 2:45 PMThomas Broyer
07/04/2024, 2:54 PMI thought it only used it to generate the POMs but then published artifacts by itself.Fwiw, I looked at the code and it confirms this.
Martin
07/04/2024, 2:59 PMVampire
07/04/2024, 3:09 PMFwiw, I looked at the code and it confirms this.Ok, great, then I got that wrong. Then they probably only now configure the publications and so on so that you can configure the POM in known way and can easily publish to another repo using
maven-publishVampire
07/04/2024, 3:14 PMso all of that metadata is created and published with the normal publish plugin. e.g.As I said, yes, as long as you publish all publications, including the plugin marker publications. Those are responsible for translating the plugin id to the actual code artifact.will workid("foo.bar") version( ... )