Package org.gradle.jvm

Examples of org.gradle.jvm.JarBinarySpec


        if (binary instanceof JvmBinarySpec) {
            JvmBinarySpec jvmBinary = (JvmBinarySpec) binary;
            textOutput.formatln("    platform: %s", jvmBinary.getTargetPlatform().getName());
            textOutput.formatln("    tool chain: %s", jvmBinary.getToolChain().getDisplayName());
            if (binary instanceof JarBinarySpec) {
                JarBinarySpec jarBinary = (JarBinarySpec) binary;
                textOutput.formatln("    Jar file: %s", fileResolver.resolveAsRelativePath(jarBinary.getJarFile()));
            }
            if (binary instanceof ClassDirectoryBinarySpec) {
                ClassDirectoryBinarySpec classDirectoryBinary = (ClassDirectoryBinarySpec) binary;
                textOutput.formatln("    classes dir: %s", fileResolver.resolveAsRelativePath(classDirectoryBinary.getClassesDir()));
                textOutput.formatln("    resources dir: %s", fileResolver.resolveAsRelativePath(classDirectoryBinary.getResourcesDir()));
View Full Code Here

TOP

Related Classes of org.gradle.jvm.JarBinarySpec

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.