Search in sources :

Example 6 with IdeaProject

use of org.gradle.tooling.model.idea.IdeaProject in project android by JetBrains.

the class SyncAction method execute.

@Override
@Nullable
public ProjectModels execute(@NotNull BuildController controller) {
    IdeaProject project = controller.getModel(IdeaProject.class);
    if (project == null) {
        return null;
    }
    ProjectModels models = new ProjectModels(project);
    models.populate(controller, myModelTypes);
    return models;
}
Also used : IdeaProject(org.gradle.tooling.model.idea.IdeaProject) Nullable(org.jetbrains.annotations.Nullable)

Aggregations

IdeaProject (org.gradle.tooling.model.idea.IdeaProject)6 IdeaModule (org.gradle.tooling.model.idea.IdeaModule)5 BasicIdeaProject (org.gradle.tooling.model.idea.BasicIdeaProject)4 GradleProject (org.gradle.tooling.model.GradleProject)3 JavaProjectData (com.intellij.externalSystem.JavaProjectData)2 BuildEnvironment (org.gradle.tooling.model.build.BuildEnvironment)2 NotNull (org.jetbrains.annotations.NotNull)2 Nullable (org.jetbrains.annotations.Nullable)2 GradleBuildParticipant (org.jetbrains.plugins.gradle.settings.GradleBuildParticipant)2 ParametersList (com.intellij.execution.configurations.ParametersList)1 DataNode (com.intellij.openapi.externalSystem.model.DataNode)1 Pair (com.intellij.openapi.util.Pair)1 SmartList (com.intellij.util.SmartList)1 File (java.io.File)1 IOException (java.io.IOException)1 HashMap (java.util.HashMap)1 CustomModel (org.gradle.integtests.tooling.r16.CustomModel)1 EclipseProject (org.gradle.tooling.model.eclipse.EclipseProject)1 GradleBuild (org.gradle.tooling.model.gradle.GradleBuild)1 GradleVersion (org.gradle.util.GradleVersion)1