Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for whenMerged (0.12 sec)

  1. platforms/documentation/docs/src/docs/dsl/org.gradle.plugins.ide.api.FileContentMerger.xml

                    <tr>
                        <td>Name</td>
                    </tr>
                </thead>
                <tr>
                    <td>beforeMerged</td>
                </tr>
                <tr>
                    <td>whenMerged</td>
                </tr>
            </table>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaProject.java

     *
     * For tackling edge cases users can perform advanced configuration on resulting XML file.
     * It is also possible to affect the way IDEA plugin merges the existing configuration
     * via beforeMerged and whenMerged closures.
     * <p>
     * beforeMerged and whenMerged closures receive {@link Project} object
     * <p>
     * Examples of advanced configuration:
     *
     * <pre class='autoTested'>
     * plugins {
     *     id 'java'
     *     id 'idea'
     * }
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 12 14:00:13 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseWtpComponent.java

     * For tackling edge cases users can perform advanced configuration on resulting XML file.
     * It is also possible to affect the way eclipse plugin merges the existing configuration
     * via beforeMerged and whenMerged closures.
     * <p>
     * beforeMerged and whenMerged closures receive {@link WtpComponent} object
     * <p>
     * Examples of advanced configuration:
     *
     * <pre class='autoTested'>
     * plugins {
     *     id 'war'
     *     id 'eclipse-wtp'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/ide/eclipse/groovy/build.gradle

    // end::module-when-merged[]
        beforeMerged { classpath ->
            classpath.entries.removeAll { entry -> entry.kind == 'lib' || entry.kind == 'var' }
        }
    // end::module-before-merged[]
    // tag::module-when-merged[]
        whenMerged { classpath ->
            classpath.entries.findAll { entry -> entry.kind == 'lib' }*.exported = false
        }
    // tag::module-before-merged[]
    }
    // end::module-before-merged[]
    // end::module-when-merged[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/core-plugins/idea_plugin.adoc

     2. The `beforeMerged` hook is executed with a domain object representing the existing file
     3. The existing content is merged with the configuration inferred from the Gradle build or defined explicitly in the eclipse DSL
     4. The `whenMerged` hook is executed with a domain object representing contents of the file to be persisted
     5. The `withXml` hook is executed with a raw representation of the XML that will be persisted
     6. The final XML is persisted
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  6. 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)
  7. platforms/documentation/docs/src/snippets/ide/idea/kotlin/build.gradle.kts

    idea.project.ipr {
        beforeMerged(Action<Project> {
            modulePaths.clear()
        })
    }
    // end::project-before-merged[]
    
    // tag::module-when-merged[]
    
    idea.module.iml {
        whenMerged(Action<Module> {
            dependencies.forEach {
                (it as ModuleDependency).isExported = true
            }
        })
    }
    // end::module-when-merged[]
    
    // tag::project-with-xml[]
    
    idea.project.ipr {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. 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)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceDirectoryOutputCrossVersionSpec.groovy

            setup:
            settingsFile << 'rootProject.name = "root"'
            buildFile << """
                apply plugin: 'java'
                apply plugin: 'eclipse'
    
                eclipse.classpath.file.whenMerged {
                    entries.find { entry -> entry.path == 'src/test/java' }.output = null
                    entries.find { entry -> entry.path == 'src/test/resources' }.output = 'out/test-resources'
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceDirectoryOutputCrossVersionSpec.groovy

            buildFile <<
            """apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.output = 'customOutput'
                           }
                       }
                   }
               }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top