driver-sync can't be resolved from Maven Central since 0.32.0
dev.opensavvy.ktmongo:driver-sync 0.32.0, 0.32.1 and 0.33.0 are on Maven Central, and their POMs depend on
driver-sync-api-jvm at the same version. That artifact isn't on Maven Central at any version; it's only in the GitLab
package registry. A build that resolves from Maven Central alone can't use the sync driver:
Could not find dev.opensavvy.ktmongo:driver-sync-api-jvm:0.33.0.
Required by: dev.opensavvy.ktmongo:driver-sync-jvm:0.33.0The cause is that driver-sync-api is missing from the library(...) list in the root build.gradle.kts, so it's left
out of the Central aggregation. It's also missing from the Dokka dependencies in docs/website/build.gradle.kts, so
its API reference isn't on the website (https://ktmongo.opensavvy.dev/api/driver-sync-api/ returns 404).
!334 (merged) adds both lines. I checked it locally with :nmcpZipAggregation: the bundle gains driver-sync-api,
driver-sync-api-jvm and driver-sync-api-js and nothing else, and every dev.opensavvy.ktmongo dependency declared
in the bundle's POMs is then in the bundle. Before the change, driver-sync and driver-sync-jvm were the only ones
pointing at something missing.
The fix only helps the next release. Publishing driver-sync-api for 0.33.0 (or releasing a 0.33.1) would unblock
anyone on the current version; until then, adding the GitLab package registry as a repository works around it.
A check that every project applying the library convention is in the aggregation would catch this kind of omission, but that belongs in the conventions rather than here, so I've left it out of the MR.