Package org.gradle.language.base.internal

Examples of org.gradle.language.base.internal.LanguageRegistry



    public void apply(final ProjectInternal project) {
        project.apply(Collections.singletonMap("plugin", LanguageBasePlugin.class));

        LanguageRegistry languageRegistry = project.getExtensions().create("languages", DefaultLanguageRegistry.class);
        ProjectSourceSet sources = project.getExtensions().getByType(ProjectSourceSet.class);

        DefaultComponentSpecContainer components = project.getExtensions().create("componentSpecs", DefaultComponentSpecContainer.class, instantiator);
        modelRegistry.create(
                ModelCreators.of(ModelReference.of("components", DefaultComponentSpecContainer.class), components)
View Full Code Here

TOP

Related Classes of org.gradle.language.base.internal.LanguageRegistry

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.