Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for withDependencies (0.41 sec)

  1. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishJavaIntegTest.groovy

                }
    
                dependencies {
                    api "org.test:dep1:1.0"
                }
    
                configurations.api.withDependencies { deps ->
                    deps.add project.dependencies.create("org.test:dep2:1.1")
                }
                configurations.api.withDependencies { deps ->
                    deps.each { dep ->
                        dep.version { require 'X' }
                    }
                }
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 49.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go

    	}
    	return b
    }
    
    // WithDependencies sets the Dependencies field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the Dependencies field is set to the value of the last call.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/artifacts/Configuration.java

         * </ul>
         *
         * This method is useful for mutating the dependencies for a configuration:
         * <pre class='autoTested'>
         * configurations { conf }
         * configurations['conf'].withDependencies { dependencies -&gt;
         *      dependencies.each { dependency -&gt;
         *          if (dependency.version == null) {
         *              dependency.version { require '1.0' }
         *          }
         *      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    =====
    
    For the following use cases, consider these alternatives when replacing a `beforeResolve` hook:
    
    * **Adding dependencies**: Use link:{javadocPath}/org/gradle/api/artifacts/Configuration.html#withDependencies-org.gradle.api.Action-[`withDependencies`].
    * **Changing dependency versions**: Use <<using_preferred_versions,preferred version constraints>>.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    importMgmts.add(importMgmt);
                }
            }
    
            importIds.remove(importing);
    
            model = model.withDependencyManagement(model.getDependencyManagement().withDependencies(deps));
    
            return dependencyManagementImporter.importManagement(model, importMgmts, request, problems);
        }
    
        private DependencyManagement loadDependencyManagement(
                Model model,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/component_metadata_rules.adoc

    - The <<declaring_dependencies.adoc#declaring-dependencies,dependencies>> of the variant, including <<rich_versions.adoc#rich-version-constraints,rich versions>> — `withDependencies {}` block
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                        .map(candidate -> addExclusions(candidate, exclusions))
                        .collect(Collectors.toList());
                importMgmt = importMgmt.withDependencies(dependencies);
            }
    
            return importMgmt != null ? new DependencyManagement(importMgmt) : null;
        }
    
        private static org.apache.maven.api.model.Dependency addExclusions(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

                if (dependencies.isEmpty()) {
                    action.execute(dependencies);
                }
            });
            return this;
        }
    
        @Override
        public Configuration withDependencies(final Action<? super DependencySet> action) {
            validateMutation(MutationType.DEPENDENCIES);
            withDependencyActions = withDependencyActions.add(action);
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    * NamedDomainObjectProvider<Configuration>.setTransitive
    * NamedDomainObjectProvider<Configuration>.singleFile
    * NamedDomainObjectProvider<Configuration>.state
    * NamedDomainObjectProvider<Configuration>.withDependencies
    
    You should prefer to directly reference the methods from `Configuration`.
    
    === Potential breaking changes
    
    ==== `JavaForkOptions` `getJvmArgs()` and `getAllJvmArgs()` return immutable lists
    
    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