Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for ideaProject (0.14 sec)

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

            public GradleBuild rootBuild;
            public IdeaProject rootIdeaProject;
            public List<IdeaProject> allIdeaProjects = new ArrayList<>();
            public final Map<GradleBuild, IdeaProject> includedBuildIdeaProjects = new LinkedHashMap<>();
    
            public IdeaProject getIdeaProject(String name) {
                for (IdeaProject ideaProject : allIdeaProjects) {
                    if (ideaProject.getName().equals(name)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r34/ToolingApiIdeaModelCrossVersionSpec.groovy

            """
    
            when:
            def ideaProject = withConnection { connection -> connection.getModel(IdeaProject) }
    
            then:
            ideaProject.modules.find { it.name == 'root' }.jdkName == 'MyJDK1'
            ideaProject.modules.find { it.name == 'child1' }.jdkName == 'MyJDK2'
            ideaProject.modules.find { it.name == 'child2' }.jdkName == 'MyJDK3'
            ideaProject.modules.find { it.name == 'child3' }.jdkName == null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r211/ToolingApiIdeaModelCrossVersionSpec.groovy

                }
            """
    
            when:
            def ideaProject = loadIdeaProjectModel()
    
            then:
    
            ideaProject.javaLanguageSettings.languageLevel.isJava5()
            // modules
            ideaProject.modules.find { it.name == 'root' }.javaLanguageSettings == null
            ideaProject.modules.find { it.name == 'child1' }.javaLanguageSettings == null
            ideaProject.modules.find { it.name == 'child2' }.javaLanguageSettings == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiIdeaModelCrossVersionSpec.groovy

    idea.module.testOutputDir = file('someTestDir')
    """
    
            when:
            IdeaProject project = loadToolingModel(IdeaProject)
            def module = project.children[0]
    
            then:
            module.contentRoots.size() == 1
            module.contentRoots[0].rootDirectory == projectDir
            module.parent instanceof IdeaProject
            module.parent == project
            module.parent == module.project
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

        def "can fetch IdeaProject model"() {
            settingsFile << """
                rootProject.name = 'root'
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            def ideaModel = fetchModel(IdeaProject)
    
            then:
            fixture.assertStateStored {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r212/ToolingApiIdeaModelCrossVersionSpec.groovy

            """
    
            when:
            def ideaProject = withConnection { connection -> connection.getModel(IdeaProject) }
    
            then:
            ideaProject.javaLanguageSettings.languageLevel == JavaVersion.VERSION_1_7
            ideaProject.modules.find { it.name == 'root' }.javaLanguageSettings == null
            ideaProject.modules.find { it.name == 'child1' }.javaLanguageSettings == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/ToolingApiIdeaModelCrossVersionSpec.groovy

        dependencies {
            ${implementationConfiguration} project(':api')
        }
    }
    """
            file('settings.gradle').text = "include 'api', 'impl'"
    
            when:
            IdeaProject project = withConnection { connection -> connection.getModel(IdeaProject.class) }
            def module = project.children.find { it.name == 'impl' }
    
            then:
            def libs = module.dependencies
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top