Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for substitutions (0.24 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencySubstitutionsSpec.groovy

            ":api"          | ":impl"
        }
    
        def "provides dependency substitution rule that orderly aggregates user specified rules"() {
            given:
            substitutions.all({ it.useTarget("1.0") } as Action)
            substitutions.all({ it.useTarget("2.0") } as Action)
            substitutions.all({ it.useTarget("3.0") } as Action)
            def details = Mock(DependencySubstitutionInternal)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/composite_builds.adoc

    [[included_build_substitution_requirements]]
    === Cases where included build substitutions must be declared
    
    Many builds will function automatically as an included build, without declared substitutions.
    Here are some common cases where declared substitutions are required:
    
    * When the `archivesBaseName` property is used to set the name of the published artifact.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 02:23:19 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug_test.go

    	// Normalize value as requested.
    	if strings.Contains(substitutions, "A") {
    		response = hexRe.ReplaceAllString(response, "<A>")
    	}
    	if strings.Contains(substitutions, "N") {
    		response = numRe.ReplaceAllString(response, "<N>")
    	}
    	if strings.Contains(substitutions, "S") {
    		response = stringRe.ReplaceAllString(response, "<S>")
    	}
    	if strings.Contains(substitutions, "O") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. src/regexp/all_test.go

    	{"(?P<x>hi)|(?P<x>bye)", "hello $$x", "hi", "hello $x"},
    	{"a+", "${oops", "aaa", "${oops"},
    	{"a+", "$$", "aaa", "$"},
    	{"a+", "$", "aaa", "$"},
    
    	// Substitution when subexpression isn't found
    	{"(x)?", "$1", "123", "123"},
    	{"abc", "$1", "123", "123"},
    
    	// Substitutions involving a (x){0}
    	{"(a)(b){0}(c)", ".$1|$3.", "xacxacx", "x.a|c.x.a|c.x"},
    	{"(a)(((b))){0}c", ".$1.", "xacxacx", "x.a.x.a.x"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParser.java

                    // Don't need to do parameter substitution, return the value of the expression after macro expanding it
                    expression = expression.asMacroExpansion();
                    macroFunctions.add(new ReturnFixedValueMacroFunction(macroName, paramNames.size(), expression.getType(), expression.getValue(), expression.getArguments()));
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DefaultDependencyLockingProviderTest.groovy

            where:
            unique << [true, false]
        }
    
        def 'can filter lock entries impacted by dependency substitutions (Unique: #unique)'() {
            given:
            dependencySubstitutionRules.rulesMayAddProjectDependency() >> true
            Action< DependencySubstitution> substitutionAction = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReader.java

            }
        }
    
        /**
         * Checks if the given value contains variable substitutions.
         *
         * @param value value to check
         * @return true if the value contains substitutions, false otherwise.
         */
        public static boolean hasUnresolvedSubstitutions(String value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 15:53:23 UTC 2024
    - 30K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/maven/RealisedMavenModuleResolveMetadata.java

                return ImmutableList.of(metadata.artifact("jar", "jar", null));
            } else {
                String type = metadata.getPackaging();
                // We were unable to resolve variable substitutions in the POM, so assume we're looking for a jar
                if (PomReader.hasUnresolvedSubstitutions(type)) {
                    return ImmutableList.of(metadata.artifact("jar", "jar", null));
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 19:13:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyGraphIntegrationTest.groovy

            'yes'                   | "includeBuild('.')"
            // If substitutions for the root would be controllable (e.g. by the first include statement encountered) this would enable you to not have the ':subproject1' substitution
            // This documents the current behavior. It is unclear if this is a useful functionality to have.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:37:49 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  10. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/CompositeBuildIdeaProjectIntegrationTest.groovy

            imlHasDependencies "buildB", "b1"
        }
    
        @ToBeFixedForConfigurationCache
        def "builds IDEA metadata with transitive substitutions"() {
            given:
            dependency "org.test:buildB:1.0"
            apiDependency buildB, "org.test:buildC:1.0"
    
            def buildC = singleProjectBuild("buildC") {
                buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top