Package org.gradle.tooling.model

Examples of org.gradle.tooling.model.GradleProject


    public <T> T produceModel(Class<T> type, ConsumerOperationParameters operationParameters) {
        if (type.equals(BuildInvocations.class)) {
            if (!versionDetails.maySupportModel(GradleProject.class)) {
                throw Exceptions.unsupportedModel(type, versionDetails.getVersion());
            }
            GradleProject gradleProject = delegate.produceModel(GradleProject.class, operationParameters);
            return adapter.adapt(type, new BuildInvocationsConverter().convert(gradleProject));
        }
        return delegate.produceModel(type, operationParameters);
    }
View Full Code Here

TOP

Related Classes of org.gradle.tooling.model.GradleProject

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.