Search in sources :

Example 1 with ClassLoaderHierarchyHasher

use of org.gradle.internal.hash.ClassLoaderHierarchyHasher in project gradle by gradle.

the class LegacyTransformer method hashSecondaryInputs.

private static HashCode hashSecondaryInputs(Isolatable<Object[]> isolatableParameters, Class<? extends org.gradle.api.artifacts.transform.ArtifactTransform> implementationClass, ClassLoaderHierarchyHasher classLoaderHierarchyHasher) {
    Hasher hasher = Hashing.newHasher();
    appendActionImplementation(implementationClass, hasher, classLoaderHierarchyHasher);
    isolatableParameters.appendToHasher(hasher);
    return hasher.hash();
}
Also used : Hasher(org.gradle.internal.hash.Hasher) ClassLoaderHierarchyHasher(org.gradle.internal.hash.ClassLoaderHierarchyHasher)

Aggregations

ClassLoaderHierarchyHasher (org.gradle.internal.hash.ClassLoaderHierarchyHasher)1 Hasher (org.gradle.internal.hash.Hasher)1