buildSrc: Avoid duplicating group in checkForUpdates

getModule() returns a ModuleIdentifier, not a string. And the
identifier's toString() includes the module's group.
This commit is contained in:
Eric Anderson 2024-07-08 15:33:22 -07:00
parent 47aa7b9bca
commit 77b3bb77ef
1 changed files with 2 additions and 2 deletions

View File

@ -94,8 +94,8 @@ public abstract class CheckForUpdatesTask extends DefaultTask {
.getDependencies().iterator().next()).getSelected().getModuleVersion();
if (oldId != newId) {
System.out.println(String.format(
"libs.%s = %s:%s %s -> %s",
name, newId.getGroup(), newId.getModule(), oldId.getVersion(), newId.getVersion()));
"libs.%s = %s %s -> %s",
name, newId.getModule(), oldId.getVersion(), newId.getVersion()));
}
}
}