GRADLE-2034: Made DefaultMavenLocalArtifactoryRepository a Java class and retrieve versionMatcher and latestStrategy fields through getter methods from parent class.