Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for variant$it (0.39 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ConcurrentDerivationStrategyIntegTest.groovy

                                  println "\$id -> \${it.displayName}"
                                  if (it.displayName != 'default') {
                                      throw new AssertionError("Unexpected resolved variant \$it")
                                  }
                              }
                          }
                      }
                   }
                }
            """
            file("lib/build.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/artifacts/result/ResolvedComponentResult.java

         *
         * @return the resolved variants for this component
         *
         * @since 5.2
         */
        List<ResolvedVariantResult> getVariants();
    
        /**
         * Returns the dependencies of a specific variant. It is possible for a component to be selected multiple
         * times with different variants (for example, the main component and its test fixtures). The dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 05 19:24:33 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/CachedCodePathComponentMetadataProcessorTest.groovy

            and: "some variants in the component, or none"
            (0..<ownVariants).forEach {
                metadata.addVariant("variant$it", ImmutableAttributes.EMPTY)
            }
    
            and: "a rule that adds a variant to all components"
            metadataRuleContainer.addClassRule(
                new SpecConfigurableRule(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishDependenciesIntegTest.groovy

                version.text() == "1.0"
                type.text() == "pom"
                scope.text() == "import"
            }
    
            ["apiElements", "runtimeElements"].each {
                repoModule.parsedModuleMetadata.variant(it) {
                    dependency("org:foo:1.0") {
                        exists()
                        isLast()
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 16:29:10 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesCachingIntegrationTest.groovy

        public void execute(ComponentMetadataContext context) {
                println "Rule executed on \${context.details.id}"
                context.details.allVariants {
                    println("Variant \$it")
                    withDependencies { deps ->
                        deps.each {
                           println "See dependency: \$it"
                        }
                    }
                }
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. platforms/software/ivy/src/main/java/org/gradle/api/publish/ivy/internal/publication/IvyComponentParser.java

        /**
         * In general, default extends all configurations such that you get 'everything' when depending on default.
         * If a variant is optional, however it is not included.
         * If a variant represents the Java API variant, it is also not included, because the Java Runtime variant already includes everything
         * (including both also works but would lead to some duplication, that might break backwards compatibility in certain cases).
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 22:25:49 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/GradleModuleMetadata.groovy

            }
            assert values.formatVersion == '1.1'
            assert values.createdBy.gradle.version == GradleVersion.current().version
            variants = (values.variants ?: []).collect { new Variant(it.name, it) }
        }
    
        @Nullable
        CreatedBy getCreatedBy() {
            def createdBy = values.createdBy
            if (createdBy == null) {
                return null
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/feature_variants.adoc

    If you choose the capability name yourself or add more capabilities to a variant, it is recommended to follow the same convention.
    --
    
    [[sec::publishing_feature_variants]]
    == Publishing features
    
    --
    Depending on the metadata file format, publishing features may be lossy:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_attributes.adoc

    This is typical of libraries published to external repositories.
    In this case, we know that even if we don't have an exact match (API), we can still compile against the runtime variant (it contains _more_ than what we need to compile but it's still ok to use).
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 18:51:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc

    ====
    
    The rule creates an `apiElements` variant based on the `compile` configuration and a `runtimeElements` variant based on the `default` configuration of each ivy module.
    For each variant, it sets the corresponding <<#sec:variant-aware-matching,Java ecosystem attributes>>.
    Dependencies and artifacts of the variants are taken from the underlying configurations.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top