Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for loadToolingModel (0.36 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r214/ToolingApiEclipseModelWtpClasspathAttributesCrossVersionSpec.groovy

                   ${implementationConfiguration} project(':sub')
               }
               project(':sub') { apply plugin : 'java' }
            """
    
            when:
            EclipseProject eclipseProject = loadToolingModel(EclipseProject)
            Collection<EclipseExternalDependency> externalDependencies = eclipseProject.getClasspath()
            Collection<EclipseProjectDependency> projectDependencies = eclipseProject.getProjectDependencies()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r210/ToolingApiEclipseModelCrossVersionSpec.groovy

            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
    
            then:
            rootProject.javaSourceSettings == null
        }
    
        def "Java project returns default source compatibility"() {
            given:
            buildFile << "apply plugin: 'java'"
    
            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerCrossVersionSpec.groovy

        def setup() {
            settingsFile << 'rootProject.name = "root"'
        }
    
        def "Project has no classpath containers"() {
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.classpathContainers.isEmpty()
        }
    
        def "Project has some classpath containers"() {
            buildFile <<
            """apply plugin: 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m3/ToolingApiEclipseModelCrossVersionSpec.groovy

    apply plugin: 'java'
    description = 'this is a project'
    '''
            projectDir.file('settings.gradle').text = 'rootProject.name = \"test project\"'
    
            when:
            HierarchicalEclipseProject minimalProject = loadToolingModel(HierarchicalEclipseProject)
    
            then:
            minimalProject.name == 'test project'
            minimalProject.description == 'this is a project'
            minimalProject.projectDirectory == projectDir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

            setup:
            settingsFile << 'rootProject.name = "root"'
            buildFile << "apply plugin: 'java'"
            file('src/main/java').mkdirs()
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.sourceDirectories.find {it.path == 'src/main/java' }.classpathAttributes.isEmpty()
        }
    
        @TargetGradleVersion(">=3.0 <4.4")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r29/ToolingApiEclipseModelCrossVersionSpec.groovy

            given:
            plugins.each { plugin -> buildFile << "apply plugin: '${plugin}'\n" }
            settingsFile << "rootProject.name = 'root'"
    
            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
            def natures = rootProject.projectNatures.collect{ it.id }
    
            then:
            natures == expectedNatures
            where:
            plugins                     | expectedNatures
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelOutputLocationCrossVersionSpec.groovy

            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            EclipseOutputLocation output = project.getOutputLocation()
    
            then:
            output.path == 'bin/default'
        }
    
        def "Java project has default output location"() {
            setup:
            buildFile << "apply plugin: 'java'"
            EclipseProject project = loadToolingModel(EclipseProject)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelOutputLocationCrossVersionSpec.groovy

            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            EclipseOutputLocation output = project.getOutputLocation()
    
            then:
            output.path == 'bin'
        }
    
        @TargetGradleVersion(">=3.0 <4.4")
        def "Java project has default output location"() {
            setup:
            buildFile << "apply plugin: 'java'"
            EclipseProject project = loadToolingModel(EclipseProject)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r211/ToolingApiEclipseModelCrossVersionSpec.groovy

        }
    
        def "Java project has target bytecode level"() {
            given:
            buildFile << "apply plugin: 'java'"
    
            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
    
            then:
            rootProject.javaSourceSettings.targetBytecodeVersion== JavaVersion.current()
        }
    
        def "Java project has jdk"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m4/ToolingApiEclipseMinimalModelCrossVersionSpec.groovy

            ${implementationConfiguration} 'this.lib.surely.does.not.exist:indeed:2.0'
        }
    }
    """
    
            when:
            HierarchicalEclipseProject project = loadToolingModel(HierarchicalEclipseProject)
    
            then:
            project.projectDependencies.size() == 1
            project.projectDependencies[0].path == 'child'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top