use of org.gradle.util.internal.VersionNumber in project gradle by gradle.
the class PmdPlugin method configureDefaultDependencies.
private void configureDefaultDependencies(Configuration configuration) {
configuration.defaultDependencies(dependencies -> {
VersionNumber version = VersionNumber.parse(extension.getToolVersion());
String dependency = calculateDefaultDependencyNotation(version);
dependencies.add(project.getDependencies().create(dependency));
});
}
Aggregations