Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for loadToolingModel (0.21 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathAttributesCrossVersionSpec.groovy

               eclipse {
                   classpath {
                       downloadJavadoc = true
                   }
               }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            def attributes = project.classpath[0].classpathAttributes
    
            then:
            attributes.find { it.name == 'javadoc_location' && it.value.contains('guava-18.0-javadoc.jar') }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r49/ToolingApiEclipseModelProjectCrossVersionSpec.groovy

        def "EclipseProject with default java attributes"() {
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.projectNatures.size() == 1
            project.projectNatures[0].id.contains('javanature')
            project.buildCommands.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r68/ToolingApiEclipseProjectDependenciesCrossVersionSpec.groovy

                    id 'java-library'
                }
    
                dependencies {
                    implementation project(':a')
                }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject).children.find { it.gradleProject.path == ':b' }
    
            then:
            project.projectDependencies.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiIdeaModelCrossVersionSpec.groovy

            buildFile.text = '''
    apply plugin: 'java'
    description = 'this is a project'
    '''
            settingsFile.text = 'rootProject.name = \"test project\"'
    
            when:
            IdeaProject project = loadToolingModel(IdeaProject)
    
            then:
            project.parent == null
            project.name == 'test project'
            project.description == null
            project.children.size() == 1
    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/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r54/ToolingApiEclipseModelAutoBuildTasksCrossVersionSpec.groovy

        def "returns false for old versions"() {
            setup:
            EclipseProject eclipseProject = loadToolingModel(EclipseProject)
    
            expect:
            !eclipseProject.hasAutoBuildTasks()
        }
    
        def "can query if Eclipse model contains tasks configured for auto-sync"() {
            when:
            EclipseProject eclipseProject = loadToolingModel(EclipseProject)
    
            then:
            !eclipseProject.hasAutoBuildTasks()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/GradleBuildModelCrossVersionSpec.groovy

            when:
            GradleBuild model = loadToolingModel(GradleBuild)
    
            then:
            model.includedBuilds.empty
        }
    
        def "No included builds for single root project"() {
            singleProjectBuildInRootFolder("root")
            when:
            GradleBuild model = loadToolingModel(GradleBuild)
    
            then:
            model.includedBuilds.empty
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiHonorsProjectCustomizationsCrossVersionSpec.groovy

    project(':impl') {
        eclipse.project.name = 'gradle-impl'
    }
    '''
            createDirs("api", "impl")
            file('settings.gradle').text = "include 'api', 'impl'"
    
            when:
            EclipseProject eclipseProject = loadToolingModel(EclipseProject)
    
            then:
            def children = eclipseProject.children.sort { it.name }
            EclipseProject api = children[0]
            assert api.name == 'gradle-api'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r410/GradleBuildModelCrossVersionSpec.groovy

                settingsFile << """
                    includeBuild '../buildC'
                """
            }
            def buildCDir = singleProjectBuildInSubfolder("buildC")
    
            when:
            GradleBuild rootBuild = loadToolingModel(GradleBuild)
    
            then:
            rootBuild.buildIdentifier.rootDir == rootDir
            rootBuild.rootProject.name == "root"
            rootBuild.includedBuilds.size() == 1
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerAccessRuleCrossVersionSpec.groovy

               eclipse {
                   classpath {
                       containers 'classpathContainerPath'
                   }
               }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.classpathContainers.find { it.path == 'classpathContainerPath' }.accessRules.isEmpty()
        }
    
        def "Has some access rules"() {
            buildFile <<
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceDirectoryAccessRuleCrossVersionSpec.groovy

        }
    
        def "Has no access rules"() {
            buildFile << "apply plugin: 'java'"
            file('src/main/java').mkdirs()
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            EclipseSourceDirectory sourceDirectory = project.sourceDirectories.find { it.path == 'src/main/java' }
    
            then:
            sourceDirectory.accessRules.isEmpty()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top