Package org.gradle.api.resources

Examples of org.gradle.api.resources.ReadableResource


    public FileTree zipTree(Object zipPath) {
        return new FileTreeAdapter(new ZipFileTree(file(zipPath), getExpandDir(), fileSystem));
    }

    public FileTree tarTree(Object tarPath) {
        ReadableResource res = getResources().maybeCompressed(tarPath);

        TarFileTree tarTree = new TarFileTree(res, getExpandDir(), fileSystem);
        return new FileTreeAdapter(tarTree);
    }
View Full Code Here

TOP

Related Classes of org.gradle.api.resources.ReadableResource

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.