Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for whenMerged (0.17 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/api/FileContentMerger.java

     */
    public class FileContentMerger {
    
        private MutableActionSet whenMerged = new MutableActionSet();
        private MutableActionSet beforeMerged = new MutableActionSet();
    
        public MutableActionSet getWhenMerged() {
            return whenMerged;
        }
    
        public void setWhenMerged(MutableActionSet whenMerged) {
            this.whenMerged = whenMerged;
        }
    
        public MutableActionSet getBeforeMerged() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. 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)
  3. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/idea/ConfigurationHooksIntegrationTest.groovy

                beforeMerged {beforeConfiguredObjects++ }
                whenMerged {whenConfiguredObjects++ }
            }
        }
        workspace {
            iws {
                beforeMerged {beforeConfiguredObjects++ }
                whenMerged {whenConfiguredObjects++ }
            }
        }
        module {
            iml {
                beforeMerged {beforeConfiguredObjects++ }
                whenMerged {whenConfiguredObjects++ }
            }
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseWtpFacet.java

    import static org.gradle.util.internal.ConfigureUtil.configure;
    
    /**
     * Enables fine-tuning wtp facet details of the Eclipse plugin
     * <p>
     * Advanced configuration closures beforeMerged and whenMerged receive {@link WtpFacet} object as parameter.
     *
     * <pre class='autoTested'>
     * plugins {
     *     id 'war' // or 'ear' or 'java'
     *     id 'eclipse-wtp'
     * }
     *
     * eclipse {
     *   wtp {
     *     facet {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseJdt.java

     *
     *     file {
     *       //whenMerged closure is the highest voodoo
     *       //and probably should be used only to solve tricky edge cases.
     *       //the type passed to the closure is {@link Jdt}
     *
     *       //closure executed after jdt file content is loaded from existing file
     *       //and after gradle build information is merged
     *       whenMerged { jdt
     *         //you can tinker with the {@link Jdt} here
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseScopeAttributeIntegrationTest.groovy

        }
    
        @ToBeFixedForConfigurationCache
        def "Source folder output location can be customized in whenMerged block"() {
            setup:
            buildFile << """
                apply plugin: 'java'
                apply plugin: 'eclipse'
    
                eclipse.classpath.file.whenMerged {
                    entries.find { entry -> entry.path == 'src/main/java' }.output = null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 10 13:19:47 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseProjectIntegrationTest.groovy

    apply plugin: 'java'
    apply plugin: 'eclipse'
    
    ext.hooks = []
    
    eclipse {
    
      jdt {
        file {
          beforeMerged {
            hooks << 'beforeMerged'
          }
          whenMerged {
            hooks << 'whenMerged'
            assert '1.1' != it.targetCompatibility.toString()
            it.targetCompatibility = JavaVersion.toVersion('1.1')
          }
          withProperties {
            hooks << 'withProperties'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. 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)
Back to top