fix ./build.gradle fromTemplate task.

Was missing the <<.
:core, :pc apply plugin java-library-distribution
Use gradle versions plugin