Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 130 for dependencyConstraints (0.38 sec)

  1. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/core_dependency_management.adoc

    * information about the project that created the dependency
    * the authors of the dependency
    * other dependencies required for a dependency to work properly, known as _transitive dependencies_
    
    You can <<dependency_constraints.adoc#dependency-constraints,customize Gradle's handling of transitive dependencies>> based on the requirements of a project.
    
    Projects with hundreds of declared dependencies can be difficult to debug.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

            def bom = mavenRepo.module("org", "bom", "1.0")
            bom.hasPackaging('pom')
            bom.dependencyConstraint(root11)
            if (dependsOptional) {
                bom.dependencyConstraint(optional)
            }
            bom.publish()
    
            buildFile << """
    apply plugin: 'java'
    
    repositories {
        maven {
            name 'repo'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ClasspathDependenciesAttributesIntegrationTest.groovy

            given:
            def module = mavenRepo.module('test', 'dep', '1.0').publish()
            mavenRepo.module('test', 'bom', '1.0').hasPackaging('pom').dependencyConstraint(module).publish()
    
            pluginBuilder.addPlugin("println 'test-plugin applied'")
            def pluginModule = pluginBuilder.publishAs('test:plugin:1.0', mavenRepo, executer).pluginModule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/userguide_single.adoc

    include::rich_versions.adoc[leveloffset=+2]
    include::dynamic_versions.adoc[leveloffset=+2]
    include::dependency_locking.adoc[leveloffset=+2]
    
    == CONTROLLING TRANSITIVES
    
    include::dependency_constraints.adoc[leveloffset=+2]
    include::dependency_downgrade_and_exclude.adoc[leveloffset=+2]
    include::platforms.adoc[leveloffset=+2]
    include::dependency_version_alignment.adoc[leveloffset=+2]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 22:56:31 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsIntegrationTest.groovy

            def constrained = mavenRepo.module('org', 'constrained', '1.1').publish()
            def bom = mavenRepo.module('org', 'bom', '1.0').hasType('pom').dependencyConstraint(constrained).publish()
            def user = mavenRepo.module('org', 'user', '1.0').dependsOn(constrainedBase).publish()
            def higherUser = mavenRepo.module('org', 'user', '1.1').dependsOn(constrainedBase).publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/single_versions.adoc

    [[sec:declaring_without_version]]
    == Declaring a dependency without version
    
    A recommended practice for larger projects is to declare dependencies without versions and use <<dependency_constraints.adoc#sec:adding-constraints-transitive-deps,dependency constraints>> for version declaration.
    The advantage is that dependency constraints allow you to manage versions of all dependencies, including transitive ones, in one place.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:46:26 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/component_capabilities.adoc

    With Gradle it becomes interesting to explicitly declare what features a component provides.
    For this, Gradle provides the concept of <<dependency_constraints.adoc#sec:adding-constraints-transitive-deps,capability>>.
    
    A feature is often built by combining different _capabilities_.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyReportTaskIntegrationTest.groovy

            def moduleA = mavenRepo.module('group', 'moduleA', '2.0').dependsOn(moduleB).publish()
            mavenRepo.module('group', 'bom', '1.0')
                    .hasType("pom")
                    .dependencyConstraint(moduleA)
                    .dependencyConstraint(moduleC)
                    .publish()
    
            buildFile << """
                apply plugin: 'java' // Java plugin required for BOM import
                repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 05:32:54 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializer.java

                }
            }
    
            private void writeVariantConstraints(ImmutableList<? extends ComponentVariant.DependencyConstraint> constraints) throws IOException {
                encoder.writeSmallInt(constraints.size());
                for (ComponentVariant.DependencyConstraint constraint : constraints) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/dependency_version_alignment.adoc

    == Aligning versions natively with Gradle
    
    Gradle natively supports alignment of modules produced by Gradle.
    This is a direct consequence of the transitivity of <<dependency_constraints.adoc#sec:adding-constraints-transitive-deps, dependency constraints>>.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top