Package org.gradle.model.internal.inspect

Examples of org.gradle.model.internal.inspect.RuleSourceDependencies


        imperativeApplicator.applyImperative(pluginId, plugin);
    }

    public void applyRules(@Nullable String pluginId, Class<?> clazz) {
        for (Class<?> source : modelRuleSourceDetector.getDeclaredSources(clazz)) {
            inspector.inspect(source, target.getModelRegistry(), new RuleSourceDependencies() {
                public void add(Class<?> source) {
                    if (!Plugin.class.isAssignableFrom(source)) {
                        throw new IllegalArgumentException("Only plugin classes are valid as rule source dependencies.");
                    }
                    target.apply(Collections.singletonMap("plugin", source));
View Full Code Here

TOP

Related Classes of org.gradle.model.internal.inspect.RuleSourceDependencies

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.