- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 46 for whenMerged (0.15 sec)
-
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) -
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) -
platforms/documentation/docs/src/snippets/ide/eclipse/kotlin/build.gradle.kts
// end::module-when-merged[] beforeMerged(Action<Classpath> { entries.removeAll { entry -> entry.kind == "lib" || entry.kind == "var" } }) // end::module-before-merged[] // tag::module-when-merged[] whenMerged(Action<Classpath> { -> entries.filter { entry -> entry.kind == "lib" } .forEach { (it as AbstractClasspathEntry).isExported = false } }) // tag::module-before-merged[] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaProjectIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/NonRenamableProject.java
super(null); this.delegate = delegate; } @Override public void setName(String name) { throw new InvalidUserDataException("Configuring eclipse project name in 'beforeMerged' or 'whenMerged' hook is not allowed."); } @Override public String getDefaultResourceName() { return delegate.getDefaultResourceName(); } @Override public String getName() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 3.8K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy
assert it.entries.any { it.path.contains('someVarDependency.jar') } assert !it.entries.any { it.path.contains('newDependency.jar') } } whenMerged { hooks << 'whenMerged' assert it.entries.size() == 3 assert it.entries.any { it.path.contains('newDependency.jar') } assert !it.entries.any { it.path.contains('someDependency.jar') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 36.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.6K bytes - Viewed (0)