mirror of https://github.com/grpc/grpc-java.git
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:
parent
47aa7b9bca
commit
77b3bb77ef
|
|
@ -94,8 +94,8 @@ public abstract class CheckForUpdatesTask extends DefaultTask {
|
||||||
.getDependencies().iterator().next()).getSelected().getModuleVersion();
|
.getDependencies().iterator().next()).getSelected().getModuleVersion();
|
||||||
if (oldId != newId) {
|
if (oldId != newId) {
|
||||||
System.out.println(String.format(
|
System.out.println(String.format(
|
||||||
"libs.%s = %s:%s %s -> %s",
|
"libs.%s = %s %s -> %s",
|
||||||
name, newId.getGroup(), newId.getModule(), oldId.getVersion(), newId.getVersion()));
|
name, newId.getModule(), oldId.getVersion(), newId.getVersion()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue