gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduce a checksum file cache service

This service is responsible for caching the checksums computed from

local file system. Because it's also used for dependency verification

writing and checking, this cache uses the existing infrastructure which

makes sure that if a file is updated locally, we expire the entry in

the cache.

This is done because there are lots of places in the code where we

used the legacy `HashUtil` class, which has no caching whatsoever.

It's, however, quite common to have a build which generates sha1

checksums multiple times for the same file. For example, during

publication.

  1. … 102 more files in changeset.
Introduce a checksum file cache service

This service is responsible for caching the checksums computed from

local file system. Because it's also used for dependency verification

writing and checking, this cache uses the existing infrastructure which

makes sure that if a file is updated locally, we expire the entry in

the cache.

This is done because there are lots of places in the code where we

used the legacy `HashUtil` class, which has no caching whatsoever.

It's, however, quite common to have a build which generates sha1

checksums multiple times for the same file. For example, during

publication.

  1. … 102 more files in changeset.
Introduce a checksum file cache service

This service is responsible for caching the checksums computed from

local file system. Because it's also used for dependency verification

writing and checking, this cache uses the existing infrastructure which

makes sure that if a file is updated locally, we expire the entry in

the cache.

This is done because there are lots of places in the code where we

used the legacy `HashUtil` class, which has no caching whatsoever.

It's, however, quite common to have a build which generates sha1

checksums multiple times for the same file. For example, during

publication.

  1. … 102 more files in changeset.
Introduce a checksum file cache service

This service is responsible for caching the checksums computed from

local file system. Because it's also used for dependency verification

writing and checking, this cache uses the existing infrastructure which

makes sure that if a file is updated locally, we expire the entry in

the cache.

This is done because there are lots of places in the code where we

used the legacy `HashUtil` class, which has no caching whatsoever.

It's, however, quite common to have a build which generates sha1

checksums multiple times for the same file. For example, during

publication.

  1. … 103 more files in changeset.
Get cache key length from hashing function used

This will allow us to test different hash functions in the future.

  1. … 3 more files in changeset.
Try with SHA-512

  1. … 3 more files in changeset.
Try SHA-256 cache keys

  1. … 3 more files in changeset.
Try SHA-256 cache keys

  1. … 3 more files in changeset.
Move ClassLoaderHierarchyHasher to :hashing

    • -0
    • +31
    ./internal/hash/ClassLoaderHierarchyHasher.java
  1. … 34 more files in changeset.
Move ClassLoaderHierarchyHasher to :hashing

    • -0
    • +31
    ./internal/hash/ClassLoaderHierarchyHasher.java
  1. … 34 more files in changeset.
Move hashing-related things to new :hashing project

    • -0
    • +55
    ./internal/hash/DefaultFileHasher.java
    • -0
    • +77
    ./internal/hash/DefaultStreamHasher.java
    • -0
    • +30
    ./internal/hash/FileHasher.java
    • -0
    • +168
    ./internal/hash/HashCode.java
    • -0
    • +43
    ./internal/hash/HashFunction.java
    • -0
    • +27
    ./internal/hash/Hashable.java
    • -0
    • +99
    ./internal/hash/Hasher.java
    • -0
    • +376
    ./internal/hash/Hashing.java
    • -0
    • +57
    ./internal/hash/HashingOutputStream.java
    • -0
    • +73
    ./internal/hash/PrimitiveHasher.java
    • -0
    • +33
    ./internal/hash/StreamHasher.java
    • -0
    • +19
    ./internal/hash/package-info.java
  1. … 30 more files in changeset.
Move hashing-related things to new :hashing project

    • -0
    • +55
    ./internal/hash/DefaultFileHasher.java
    • -0
    • +77
    ./internal/hash/DefaultStreamHasher.java
    • -0
    • +57
    ./internal/hash/HashingOutputStream.java
    • -0
    • +73
    ./internal/hash/PrimitiveHasher.java
  1. … 30 more files in changeset.