So, we have an app that’s comprised of mutliple smaller libraries. Our dev team is pretty big, so we work in our individual libraries until a feature is ready and then it gets integrated into the app. We’re starting now to use a maven BOM file (which i generate with a custom build.gradle script and publish to nexus). This helps with the jar hell in terms of managing the versions of jetpack libraries that are being used. However, i haven’t really found a way to make sure we’re all on the same gradle plugin and kotlin plugin version. I tried using something like this in the buildscirpt block but it doesn’t work:
That's because you should be using the gradle wrapper in the gradle subfolder. Version has to be changed there.
You can git submodule the directory if you really want to enforce it across multiple repos...