Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for entryAttributes (0.34 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
            """
            file('src/main/java').mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
            """
            file('src/main/java').mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ClasspathTest.groovy

        }
    
        private ProjectDependency createProjectDependency(String path, String publicationPath, Map entryAttributes) {
            def projectDependency = new ProjectDependency(path)
            projectDependency.publication = fileReferenceFactory.fromPath(publicationPath)
            projectDependency.entryAttributes.putAll(entryAttributes)
            return projectDependency
        }
    
        private InputStream getToXmlReader() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelCrossVersionSpec.groovy

               eclipse {
                   classpath {
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == "lib" }.entryAttributes['customkey'] = 'whenMerged'
                           }
                       }
                   }
                }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathAttributesCrossVersionSpec.groovy

                       containers 'containerPath'
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.path == 'containerPath' }.entryAttributes.customKey = 'customValue'
                           }
                       }
                   }
               }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top