Addon dependencies in composite project

I am setting up a composite project, say I have now project-all, app, addon1

When you use Jmix Studio to set the dependency between app->addon1:

  • api 'com.example:addon1:0.0.1-SNAPSHOT' is added to build.gradle in app,
  • The Configuration class is added to @JmixModule in dependsOn

My doubt is about the first part,

My understanding of the Gradle Documentation is that the reference should be without the version tag, so only com.example:addon1

Which would be the right way? With or without version?

My concern with the version specification is that I would need to manually update all dependencies on a version bump, whereas without the version all “just works”

Also, Jmix Studio uses api .... whereas the Gradle docs says implementation .... Both seem to work, what is the difference in this case?