Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for whenMerged (0.26 sec)

  1. 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:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerCrossVersionSpec.groovy

        }
    
        def "Classpath container defined in whenMerged"() {
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       file {
                          whenMerged { classpath ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelOutputLocationCrossVersionSpec.groovy

            then:
            output.path == 'custom-bin'
        }
    
        def "Custom output location defined in whenMerged"() {
            setup:
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'output' }.path = 'custom-bin'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

        }
    
    
        def "Source dir information can be modified in whenMerged block"() {
            buildFile <<
                """apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       file {
                           whenMerged { classpath ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

            buildFile <<
                """apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.customKey = 'customValue'
                           }
                       }
                   }
    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/r49/ToolingApiEclipseModelProjectCrossVersionSpec.groovy

        }
    
        @Issue('eclipse/buildship#694')
        def "EclipseProject attributes modified via whenMerged"() {
            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
               import org.gradle.plugins.ide.eclipse.model.BuildCommand
    
               eclipse.project.file.whenMerged {
                   it.natures.clear()
                   it.buildCommands.clear()
               }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r35/ToolingApiEclipseModelDependencyAccessRuleCrossVersionSpec.groovy

            setup:
            buildFile << """
                import org.gradle.plugins.ide.eclipse.model.AccessRule
                eclipse.classpath.file.whenMerged {
                    def dependency = entries.find { it.path.contains 'example-lib' }
                    dependency.accessRules.add(new AccessRule('0', 'id-accessible'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

                whenMerged {whenConfiguredObjects++ }
            }
        }
    
        classpath {
            file {
                beforeMerged {beforeConfiguredObjects++ }
                whenMerged {whenConfiguredObjects++ }
            }
        }
    
        wtp.component {
            file {
                beforeMerged {beforeConfiguredObjects++ }
                whenMerged {whenConfiguredObjects++ }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathAttributesCrossVersionSpec.groovy

            """apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       containers 'containerPath'
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.path == 'containerPath' }.entryAttributes.customKey = 'customValue'
                           }
                       }
                   }
               }
    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/ToolingApiEclipseModelCustomLibrarySourceAndJavadocCrossVersionSpec.groovy

                    ${implementationConfiguration} 'org.example:example-lib:1.0'
                }
    
                eclipse {
                    classpath {
                        file {
                            whenMerged { classpath ->
                                def lib = classpath.entries.find { it.path.contains('example-lib') }
                                lib.javadocPath = fileReference('$customJavadocPath')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top