This message was deleted.
# dependency-management
s
This message was deleted.
g
One thing that works is to use
includeVersionByRegex
instead of `includeGroup`/`includeGroupByRegex`. For the artifact id you can put
.*
and then in version you can have a regex that excludes the version containing -SNAPSHOT or some other suffix that you use for local builds.
We use that to have exclusiveContent for getting AndroidX from Google Maven but still being able to add androidx.dev snapshot repositories https://github.com/freeletics/freeletics-gradle-plugins/blob/main/settings-plugin/src/main/kotlin/com/freeletics/gradle/plugin/SettingsPlugin.kt#L73-L77
z
I'm very late to this but nice 👍