Package org.gradle.platform.base

Examples of org.gradle.platform.base.ComponentSpecIdentifier


        this.sources = sources;
        this.project = project;
    }

    public NativeExecutableSpec create(String name) {
        ComponentSpecIdentifier id = new DefaultComponentSpecIdentifier(project.getPath(), name);
        return instantiator.newInstance(DefaultNativeExecutableSpec.class, id, sources.maybeCreate(name));
    }
View Full Code Here


        this.sources = sources;
        this.project = project;
    }

    public NativeLibrarySpec create(String name) {
        ComponentSpecIdentifier id = new DefaultComponentSpecIdentifier(project.getPath(), name);
        return instantiator.newInstance(DefaultNativeLibrarySpec.class, id, sources.maybeCreate(name));
    }
View Full Code Here

        }

        private CUnitTestSuiteSpec createCUnitTestSuite(final NativeComponentSpec testedComponent, Instantiator instantiator, ProjectSourceSet projectSourceSet) {
            String suiteName = String.format("%sTest", testedComponent.getName());
            String path = testedComponent.getProjectPath();
            ComponentSpecIdentifier id = new DefaultComponentSpecIdentifier(path, suiteName);
            FunctionalSourceSet testSuiteSourceSet = projectSourceSet.maybeCreate(suiteName);
            return instantiator.newInstance(DefaultCUnitTestSuiteSpec.class, id, testedComponent, testSuiteSourceSet);
        }
View Full Code Here

TOP

Related Classes of org.gradle.platform.base.ComponentSpecIdentifier

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.