Add properties to the Maven and Gradle plugins so that users can switch between the two loader modules. See gh-37669