Package org.gradle.plugins.ide.idea.model

Examples of org.gradle.plugins.ide.idea.model.ModuleDependency


import org.gradle.plugins.ide.idea.model.ModuleDependency;

class ModuleDependencyBuilder {
    public ModuleDependency create(Project project, String scope) {
        if (project.getPlugins().hasPlugin(IdeaPlugin.class)) {
            return new ModuleDependency(((IdeaModel) project.getExtensions().getByName("idea")).getModule().getName(), scope);
        } else {
            return new ModuleDependency(project.getName(), scope);
        }
    }
View Full Code Here

TOP

Related Classes of org.gradle.plugins.ide.idea.model.ModuleDependency

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.