Not in the lockfile.
There is no conflict resolution and no overriding of the version.
The subproject buildscript class path has its own version.
But the superproject class loader that contains the superproject class path is the parent class loader of the subproject class loader containing the subproject class path.
And according to Java class loading rules, the parent class loader is asked for a class first and used if it has the class.