I would like my common build file, ‘other.gradle’ in a Maven repository and the build.gradle for the current project I am building to get the most current without having to make a code change to build.gradle.
Resolving the latest version of an external build script from a Maven repository is beyond the scope of the functionality mentioned in the user guide. That section is simply saying that you can also replace apply from: 'other.gradle' with a remote URL, i.e:
apply from: 'http://myhost:8081/other.gradle'
The expectation here is that you’re just uploading the file somewhere and can replace it as needed.
If you actually need to use a file published to a Maven repository conventionally (as opposed to just thinking that’s what you needed to do for the feature), the buildscript {...} isn’t particularly helpful as it is primarily designed to add binary plugins to the buildscript classpath. Instead, you should be able to use a detached configuration to resolve the latest version of other.gradle as a single file: