Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for ideaProject (0.21 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/FetchIdeaProjectForTarget.java

    import org.gradle.tooling.model.gradle.GradleBuild;
    import org.gradle.tooling.model.idea.IdeaProject;
    
    public class FetchIdeaProjectForTarget implements BuildAction<IdeaProject> {
    
        private final String targetProject;
    
        public FetchIdeaProjectForTarget(String targetProject) {
            this.targetProject = targetProject;
        }
    
        @Override
        public IdeaProject execute(BuildController controller) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/GradleProjectBuilderOptionsCrossVersionSpec.groovy

        def "realizes #description when fetching IdeaProject with option value #optionDescription"() {
            buildFile << """
                tasks.create("a") {
                    println "realizing non-lazy task"
                }
    
                tasks.register("b") {
                    println "realizing lazy task"
                }
            """
    
            when:
            def ideaProject = loadToolingModel(IdeaProject) {
                if (option != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r50/ToolingApiIdeaModelCrossVersionSpec.groovy

                    }
                    test {
                        java {}
                        resources {}
                    }
                }
            }
    
            when:
            IdeaProject project = withConnection { connection -> connection.getModel(IdeaProject.class) }
            IdeaModule module = project.children[0]
            IdeaContentRoot root = module.contentRoots[0]
    
            then:
            root.sourceDirectories.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/FetchIdeaProject.java

    import org.gradle.tooling.BuildAction;
    import org.gradle.tooling.BuildController;
    import org.gradle.tooling.model.idea.IdeaProject;
    
    public class FetchIdeaProject implements BuildAction<IdeaProject> {
    
        @Override
        public IdeaProject execute(BuildController controller) {
            return controller.getModel(IdeaProject.class);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1001 bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/FetchIdeaModel.java

    import org.gradle.tooling.BuildAction;
    import org.gradle.tooling.BuildController;
    import org.gradle.tooling.model.idea.IdeaProject;
    
    public class FetchIdeaModel implements BuildAction<IdeaProject> {
        public IdeaProject execute(BuildController controller) {
            return controller.getModel(IdeaProject.class);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 985 bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r62/ToolingApiIdeaLocalGroovyCrossVersionSpec.groovy

            }
    
            dependencies {
                implementation(localGroovy())
            }
            """
    
            when:
            IdeaProject ideaProject = toolingApi.withConnection { connection -> connection.getModel(IdeaProject) }
    
            then:
            def ideaModule = ideaProject.modules.find { it.name == 'root' }
            def dependency = ideaModule.dependencies.find { it.file.name.contains("groovy-") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r64/ToolingApiIdeaModelJavaVersionCrossVersionSpec.groovy

            """
    
            when:
            def ideaProject = loadIdeaProjectModel()
    
            then:
            ideaProject.javaLanguageSettings.languageLevel == JavaVersion.VERSION_1_8
            ideaProject.javaLanguageSettings.targetBytecodeVersion == JavaVersion.VERSION_1_8
        }
    
        private IdeaProject loadIdeaProjectModel() {
            withConnection { connection -> connection.getModel(IdeaProject) }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/UseOtherTypesToFetchProjectModel.java

    import org.gradle.tooling.model.idea.IdeaProject;
    
    import java.util.HashMap;
    import java.util.Map;
    
    public class UseOtherTypesToFetchProjectModel implements BuildAction<Map<String, CustomModel>> {
        public Map<String, CustomModel> execute(BuildController controller) {
            // Use an IdeaModule to reference a project
            IdeaProject ideaProject = controller.getModel(IdeaProject.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaModel.java

            this.module = module;
        }
    
        /**
         * Configures IDEA project information. <p> For examples see docs for {@link IdeaProject}.
         */
        public IdeaProject getProject() {
            return project;
        }
    
        public void setProject(IdeaProject project) {
            this.project = project;
        }
    
        /**
         * Configures IDEA workspace information.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r18/FetchIdeaModel.java

    import org.gradle.tooling.BuildAction;
    import org.gradle.tooling.BuildController;
    import org.gradle.tooling.model.idea.IdeaProject;
    
    public class FetchIdeaModel implements BuildAction<IdeaProject> {
        public IdeaProject execute(BuildController controller) {
            return controller.getModel(IdeaProject.class);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 984 bytes
    - Viewed (0)
Back to top