mirror of
https://github.com/google/nomulus.git
synced 2025-05-28 09:50:57 +02:00
Upgrade to Gradle 7.0 (#1712)
* Convert to gradle 7. * More fixes, regenerated lockfiles. * Update lockfiles for dependency update. * Fix show_upgrade_diff for new lockfile format * Add property for allowInsecureProtocol Allow us to override the restriction against use of plain HTTP for communication to dependency repositories. We need this to be able to use a local proxy for dependency gathering. * Checking in missing gradle.lockfile
This commit is contained in:
parent
68f975451e
commit
06ca9266b4
349 changed files with 3999 additions and 26646 deletions
|
@ -58,7 +58,10 @@ def parse_lockfile(filename: str) -> PackageMap:
|
|||
if line.startswith(b'#'):
|
||||
continue
|
||||
line = line.rstrip()
|
||||
package = cast(Tuple[bytes, bytes, bytes], tuple(line.split(b':')))
|
||||
package = line.split(b'=')[0]
|
||||
if package == 'empty':
|
||||
continue
|
||||
package = cast(Tuple[bytes, bytes, bytes], tuple(package.split(b':')))
|
||||
result.setdefault(package[:-1], set()).add(package[-1])
|
||||
return result
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue