Examples of IvyResourcePattern


Examples of org.gradle.api.internal.artifacts.repositories.resolver.IvyResourcePattern

        } else {
            chopAt = patternPos;
        }
        String pathPart = pattern.substring(0, chopAt);
        String patternPart = pattern.substring(chopAt + 1);
        addForPattern(finders, new File(rootCachesDirectory, pathPart), new IvyResourcePattern(patternPart));
    }
View Full Code Here

Examples of org.gradle.api.internal.artifacts.repositories.resolver.IvyResourcePattern

    public ArtifactIdentifierFileStore(PathKeyFileStore pathKeyFileStore, TemporaryFileProvider temporaryFileProvider) {
        super(pathKeyFileStore, temporaryFileProvider, toTransformer(GROUP_PATTERN), toTransformer(NAME_PATTERN));
    }

    private static Transformer<String, ModuleComponentArtifactMetaData> toTransformer(final String pattern) {
        final ResourcePattern resourcePattern = new IvyResourcePattern(pattern);
        return new Transformer<String, ModuleComponentArtifactMetaData>() {
             public String transform(ModuleComponentArtifactMetaData artifact) {
                 return resourcePattern.getLocation(artifact).getPath();
             }
         };
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.