Package org.gradle.internal.resource.cached

Examples of org.gradle.internal.resource.cached.CachedExternalResourceAdapter


            if (remoteChecksum != null) {
                LocallyAvailableResource local = localCandidates.findByHashValue(remoteChecksum);
                if (local != null) {
                    LOGGER.info("Found locally available resource with matching checksum: [{}, {}]", location, local.getFile());
                    // TODO - should iterate over each candidate until we successfully copy into the cache
                    return copyToCache(location, fileStore, new CachedExternalResourceAdapter(location, local, delegate, remoteMetaData, remoteChecksum));
                }
            }
        }

        // All local/cached options failed, get directly
View Full Code Here

TOP

Related Classes of org.gradle.internal.resource.cached.CachedExternalResourceAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.