Package org.gradle.api.internal.artifacts.ivyservice

Examples of org.gradle.api.internal.artifacts.ivyservice.DefaultIvyModuleDescriptor


                if (!(metadata instanceof IvyModuleResolveMetaData)) {
                    return;
                }

                IvyModuleResolveMetaData ivyMetadata = (IvyModuleResolveMetaData) metadata;
                inputs.add(new DefaultIvyModuleDescriptor(ivyMetadata.getExtraInfo(), ivyMetadata.getBranch(), ivyMetadata.getStatus()));
                continue;
            }

            // We've already validated the inputs: should never get here.
            throw new IllegalStateException();
View Full Code Here


    public IvyModuleDescriptor getIvyModuleDescriptor() {
        ModuleComponentResolveMetaData metaData = getMetaData();
        if (metaData instanceof IvyModuleResolveMetaData) {
            IvyModuleResolveMetaData ivyMetadata = (IvyModuleResolveMetaData) metaData;
            return new DefaultIvyModuleDescriptor(ivyMetadata.getExtraInfo(), ivyMetadata.getBranch(), ivyMetadata.getStatus());
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of org.gradle.api.internal.artifacts.ivyservice.DefaultIvyModuleDescriptor

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.