Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,195 for Variant (0.17 sec)

  1. platforms/documentation/docs/src/samples/writing-tasks/tasks-with-dependency-resolution-result-inputs/common/dependency-reports/src/main/java/com/example/ListResolvedArtifacts.java

                List<ResolvedVariantResult> variants = getArtifactVariants().get();
                List<RegularFile> files = getArtifactFiles().get();
                for (int index = 0; index < ids.size(); index++) {
                    ComponentArtifactIdentifier id = ids.get(index);
                    ResolvedVariantResult variant = variants.get(index);
                    RegularFile file = files.get(index);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

                }
                this.variants.each { variant ->
                    def actualVariant = actual.variants.find { it.name == variant.name }
                    if (!actualVariant) {
                        errors << "Expected variant name $variant, but wasn't found in: $actual.variants.name"
                    } else {
                        if (variant.attributes != actualVariant.attributes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/capabilities/CapabilitiesUseCasesIntegrationTest.groovy

                }
            } else {
                def variant = 'runtime'
                if (!isGradleMetadataPublished() && useIvy()) {
                    variant = 'default'
                }
                failure.assertHasCause("""Module 'cglib:cglib-nodep' has been rejected:
       Cannot select module with conflict on capability 'cglib:cglib:3.2.5' also provided by [cglib:cglib:3.2.5($variant)]""")
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppStaticLibraryLinkageProjectIntegrationTest.groovy

            return new CppLib()
        }
    
        @Override
        List<String> getTasksToBuildFromIde(String variant) {
            return [":compile${variant.capitalize()}Cpp", ":create${variant.capitalize()}"]
        }
    
        @Override
        String getIdeBuildTaskName(String variant) {
            return "create${variant.capitalize()}"
        }
    
        @Override
        List<String> getExpectedBaseIncludePaths() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/derived/DerivedVariantsResolutionIntegrationTest.groovy

        }
    
        def "direct has GMM and has sources jar"() {
            transitive.adhocVariants().variant("jar", [
                "org.gradle.category": "library",
                "org.gradle.dependency.bundling": "external",
                "org.gradle.usage": "java-runtime"
            ]) {
                artifact("transitive-1.0.jar")
            }
            .variant("sources", [
                    "org.gradle.category": "documentation",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphSelectionCandidates.java

    public interface GraphSelectionCandidates {
    
        /**
         * Returns the set of variants to select from during attribute matching, or an empty list of this
         * component does not support attribute matching.
         */
        List<? extends VariantGraphResolveState> getVariantsForAttributeMatching();
    
        /**
         * Returns the variant to use when attribute-based variant selection is not enabled.
         */
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/native/cpp_application_plugin.adoc

    [[sec:cpp_application_task_variants]]
    === Variant-dependent Tasks
    
    The {cpp} Application Plugin creates tasks based on the variants of the application component.
    Read the <<building_cpp_projects.adoc#sec:introducing_build_variants-cpp,introduction to build variants>> for more information.
    The following diagram shows the relationship between variant-dependent tasks.
    
    .{cpp} Application Plugin variant-dependent task graph
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/native/swift_application_plugin.adoc

    [[sec:swift_application_task_variants]]
    === Variant-dependent Tasks
    
    The Swift Application Plugin creates tasks based on the variants of the application component.
    Read the <<building_swift_projects.adoc#sec:introducing_build_variants-swift,introduction to build variants>> for more information.
    The following diagram shows the relationship between variant-dependent tasks.
    
    .Swift Application Plugin variant-dependent task graph
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/resolver/VariantArtifactResolver.java

        /**
         * Applies the provided exclusions and resolves the given variant metadata to its artifacts.
         */
        ResolvedVariant resolveVariant(ComponentArtifactResolveMetadata component, VariantResolveMetadata variant, ExcludeSpec exclusions);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

            mainMetadata.variants.size() == 5
            def api = mainMetadata.variant("api")
            api.dependencies.empty
            api.files.size() == 1
            api.files[0].name == 'cpp-api-headers.zip'
            api.files[0].url == 'test-1.2-cpp-api-headers.zip'
            mainMetadata.variant("debugLink").availableAt.coords == "some.group:test_debug:1.2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top