Package org.gradle.api.artifacts

Examples of org.gradle.api.artifacts.ResolvedModuleVersion


    public String getConfiguration() {
        return id.getConfiguration();
    }

    public ResolvedModuleVersion getModule() {
        return new ResolvedModuleVersion() {
            public ModuleVersionIdentifier getId() {
                return id.getId();
            }
        };
    }
View Full Code Here


        context.checking(new Expectations() {{
            allowing(artifactSource).create();
            will(returnValue(file));
        }});
        final ResolvedDependency resolvedDependency = context.mock(ResolvedDependency.class);
        final ResolvedModuleVersion version = context.mock(ResolvedModuleVersion.class);
        context.checking(new Expectations() {{
            allowing(resolvedDependency).getModule();
            will(returnValue(version));
            allowing(version).getId();
            will(returnValue(new DefaultModuleVersionIdentifier("group", name, "1.2")));
View Full Code Here

TOP

Related Classes of org.gradle.api.artifacts.ResolvedModuleVersion

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.