- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 46 for whenMerged (0.17 sec)
-
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) -
platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpModelIntegrationTest.groovy
assert it.deployName == 'coolDeployName' } whenMerged { hooks << 'whenMerged' it.deployName = 'betterDeployName' } withXml { it.asNode().appendNode('be', 'cool') } } } } } eclipseWtpComponent.doLast() { assert hooks == ['beforeMerged', 'whenMerged'] } """ //when
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 16.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r49/ToolingApiEclipseModelProjectCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseProject.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 Project} object * <p> * Examples of advanced configuration: * * <pre class='autoTested'> * plugins { * id 'java' * id 'eclipse' * }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 13.8K bytes - Viewed (0) -
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) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseClasspath.java
* It is also possible to affect the way that the Eclipse plugin merges the existing configuration * via beforeMerged and whenMerged closures. * <p> * The beforeMerged and whenMerged closures receive a {@link Classpath} object. * <p> * Examples of advanced configuration: * * <pre class='autoTested'> * plugins { * id 'java' * id 'eclipse'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 13.8K bytes - Viewed (0) -
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) -
platforms/documentation/docs/src/snippets/ide/idea/groovy/build.gradle
idea.project.ipr { beforeMerged { project -> project.modulePaths.clear() } } // end::project-before-merged[] // tag::module-when-merged[] idea.module.iml { whenMerged { module -> module.dependencies*.exported = true } } // end::module-when-merged[] // tag::project-with-xml[] idea.project.ipr { withXml { provider -> provider.node.component
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 777 bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseCustomSourceAndJavadocLocationIntegrationTest.groovy
dependencies { implementation 'com.google.guava:guava:18.0' } eclipse { classpath { file { whenMerged { classpath -> def guava = classpath.entries.find { it.path.contains('guava-18') } guava.javadocPath = classpath.fileReference('$customJavadocPath')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/core-plugins/eclipse_plugin.adoc
. The `beforeMerged` hook is executed with a domain object representing the existing file . The existing content is merged with the configuration inferred from the Gradle build or defined explicitly in the eclipse DSL . The `whenMerged` hook is executed with a domain object representing contents of the file to be persisted . The `withXml` hook is executed with a raw representation of the XML that will be persisted . The final XML is persisted
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 16.8K bytes - Viewed (0)