Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 230 for substituted (0.16 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyArtifactsIntegrationTest.groovy

        }
    
        def "builds single artifact for substituted dependency"() {
            given:
            dependency 'org.test:buildB:1.0'
    
            when:
            resolveArtifacts()
    
            then:
            executedInOrder ":buildB:jar", ":resolve"
            assertResolved buildB.file('build/libs/buildB-1.0.jar')
        }
    
        def "builds multiple artifacts for substituted dependency"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 06 13:06:28 UTC 2020
    - 21.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutions.java

                this.selectionReason = selectionReason;
                this.substituted = substituted;
                this.substitute = substitute;
            }
    
            @Override
            public void execute(DependencySubstitution dependencySubstitution) {
                if (substituted.equals(dependencySubstitution.getRequested())) {
                    super.execute(dependencySubstitution);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  3. src/go/types/subst.go

    package types
    
    import (
    	"go/token"
    )
    
    type substMap map[*TypeParam]Type
    
    // makeSubstMap creates a new substitution map mapping tpars[i] to targs[i].
    // If targs[i] is nil, tpars[i] is not substituted.
    func makeSubstMap(tpars []*TypeParam, targs []Type) substMap {
    	assert(len(tpars) == len(targs))
    	proj := make(substMap, len(tpars))
    	for i, tpar := range tpars {
    		proj[tpar] = targs[i]
    	}
    	return proj
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/subst.go

    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    )
    
    type substMap map[*TypeParam]Type
    
    // makeSubstMap creates a new substitution map mapping tpars[i] to targs[i].
    // If targs[i] is nil, tpars[i] is not substituted.
    func makeSubstMap(tpars []*TypeParam, targs []Type) substMap {
    	assert(len(tpars) == len(targs))
    	proj := make(substMap, len(tpars))
    	for i, tpar := range tpars {
    		proj[tpar] = targs[i]
    	}
    	return proj
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/CompositeBuildIdeaProjectIntegrationTest.groovy

                        }
                    }
    """
            }
            includeBuild(buildB)
        }
    
        @ToBeFixedForConfigurationCache
        def "builds IDEA metadata with substituted dependency"() {
            given:
            dependency 'org.test:buildB:1.0'
    
            when:
            idea()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/locking/LockingInteractionsIntegrationTest.groovy

        }
    }
    """
    
            when:
            fails 'resolve'
    
            then:
            failureHasCause("Did not resolve 'org:test:1.1' which has been forced / substituted to a different version: '1.0'")
        }
    
        def "fails when a substitute overwrites a locked version"() {
            given:
            mavenRepo.module('org', 'test', '1.0').publish()
            mavenRepo.module('org', 'test', '1.1').publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyGraphIntegrationTest.groovy

                    configuration = "runtimeElements"
                    compositeSubstitute()
                    module("org.test:transitive2:1.0")
                }
            }
        }
    
        def "substitutes transitive dependency of substituted project dependency"() {
            given:
            buildA.buildFile << """
                dependencies {
                    implementation "org.test:buildB:1.0"
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:37:49 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishResolvedVersionsJavaIntegTest.groovy

        def "substituted project dependencies are also substituted in the generated POM file"() {
            createBuildScripts("""
                dependencies {
                    implementation project(":a")
                }
    
                configurations.all {
                    resolutionStrategy.dependencySubstitution {
                        substitute(project(':a')).using(project(':b'))
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 18:52:27 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/resolution_rules.adoc

    The same rule _without_ the `platform` keyword would try to substitute _regular dependencies_ with a regular dependency, which is not what you want, so it's important to understand that the substitution rules apply on a _dependency specification_: it matches the requested dependency (`substitute XXX`) with a substitute (`using YYY`).
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 00:09:06 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/Checkstyle.java

         * The properties available for use in the configuration file. These are substituted into the configuration file.
         */
        @Nullable
        @Optional
        @Input
        public Map<String, Object> getConfigProperties() {
            return configProperties;
        }
    
        /**
         * The properties available for use in the configuration file. These are substituted into the configuration file.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 19 14:14:12 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top