Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for whenMerged (0.31 sec)

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

               apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       containers 'classpathContainerPath'
                       file {
                           whenMerged { classpath ->
                               def container = classpath.entries.find { it.kind == 'con' && it.path == 'classpathContainerPath' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceDirectoryAccessRuleCrossVersionSpec.groovy

               apply plugin: 'java'
               apply plugin: 'eclipse'
               eclipse {
                   classpath {
                       file {
                           whenMerged { classpath ->
                               def sourceDir = classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }
                               sourceDir.accessRules.add(new AccessRule('0', 'accessibleFilesPattern'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelDependencyAccessRuleCrossVersionSpec.groovy

            """import org.gradle.plugins.ide.eclipse.model.AccessRule
               eclipse {
                   classpath {
                       containers 'classpathContainerPath'
                       file {
                           whenMerged { classpath ->
                               def projectDependency = classpath.entries.find { it.path == '/sub' }
                               projectDependency.accessRules.add(new AccessRule('0', 'sub-accessibleFilesPattern'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaModule.java

     * It is also possible to affect the way the IDEA plugin merges the existing configuration
     * via beforeMerged and whenMerged closures.
     * <p>
     * beforeMerged and whenMerged closures receive a {@link Module} parameter
     * <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 Jan 09 09:58:16 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/eclipse/EclipseModelBuilderDependenciesTest.groovy

                testImplementation child2.dependencies.project(path: ":child1", configuration: "testArtifacts")
            }
            child3.eclipse {
                (classpath as EclipseClasspath).file.whenMerged {
                    def customDependency = new ProjectDependency("/child1")
                    customDependency.buildDependencies(":child1:jar")
                    customDependency.publication = fileReference("customJar.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

                }
                project(":child2") {
                    dependencies {
                        implementation project(":child1");
                    }
                    eclipse {
                        classpath.file.whenMerged { cp ->
                            def dep = entries.find { it.path.endsWith('child1') }
                            def sourceJar = this.project(":child1").tasks.getByName("sourceJar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

            setup:
            buildFile.text = """
                apply plugin: 'eclipse'
                eclipse {
                    project {
                        file {
                            whenMerged {
                                ${server.callFromBuild("waiting")}
                            }
                        }
                    }
                }
            """.stripIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

            testConfigurations = [configuration.myTestConfiguration]
        }
    }
    ```
    
    Alternatively, you can adjust or remove classpath attributes in the `eclipse.classpath.file.whenMerged { }` block.
    
    ==== Signing plugin defaults to `gpg` instead of `gpg2` when using the GPG command
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top