Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for classpathContainerPath (0.3 sec)

  1. 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)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r35/ToolingApiEclipseModelDependencyAccessRuleCrossVersionSpec.groovy

                   implementation project(':sub')
                   implementation 'org.example:example-lib:1.0'
                }
    
                eclipse {
                    classpath {
                        containers 'classpathContainerPath'
                    }
                }
            """
        }
    
        def "access rules can be declared with string literals and with ids for external dependencies"() {
            setup:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelDependencyAccessRuleCrossVersionSpec.groovy

            setup:
            buildFile <<
            """import org.gradle.plugins.ide.eclipse.model.AccessRule
               eclipse {
                   classpath {
                       containers 'classpathContainerPath'
                       file {
                           whenMerged { classpath ->
                               def projectDependency = classpath.entries.find { it.path == '/sub' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top