Gradle 5.6.4 consuming module metadata


Is it possible for Gradle 5.6.4 to consume Gradle Module Metadata that was published with formatVersion 1.1 ?

Unlikely, as the switch to 1.1 was done in 6.0.
But if you just try, it should tell you that it only supports format 1.0 iirc.

While it could indeed also be that it is just ignored, because iirc the marker comment in the POM that tells Gradle there is GMM file also changed with Gradle 6.
So Gradle 5 will probably not even see the GMM file produced with Gradle 6.

Thanks for the reply. I didn’t get a warning so my guess is that it doesn’t even see the GMM. Do you happen to know if it possible to specify which formatVersion is used for GMM publish? i.e Can e.g Gradle 7 publish a 1.0 instead of a 1.1 version.

Not as far as I know.

Thanks again for taking the time to reply.

1 Like