Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for disambiguation (0.23 sec)

  1. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/caching_android_projects.adoc

    This is even more true for Android projects that include Kotlin source code (and therefore use the `kotlin-android` plugin).
    
    == Disambiguation
    
    This guide is about Gradle’s build cache, but you may have also heard about the https://developer.android.com/studio/build/build-cache[Android build cache].
    These are different things.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 12:54:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/dep-man/dependency_management_terminology.adoc

    When dependencies are resolved, a set of attributes are requested and Gradle finds the best fitting variant(s) for each component in the dependency graph.
    Compatibility and disambiguation rules can be implemented for an attribute to express compatibility between values (e.g. Java 8 is compatible with Java 11, but Java 11 should be preferred if the requested version is 11 or higher).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc

        - org.gradle.libraryelements
        - org.gradle.plugin.api-version
        - org.gradle.usage
    
    --------------------------------------------------
    Disambiguation Rules
    --------------------------------------------------
    Description = The following Attributes have disambiguation rules defined.
    
        - org.gradle.category
        - org.gradle.dependency.bundling
        - org.gradle.jvm.environment
        - org.gradle.jvm.version
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/debug/debug.cc

        }
        name_parts.emplace_back(sanitized_name);
        name_parts.emplace_back(kFiletypeSuffix);
    
        // Build a filename such that it contains function names and pass names for
        // easy disambiguation.
        const std::string filename = tsl::io::JoinPath(
            dump_dir_, absl::StrJoin(name_parts.begin(), name_parts.end(), "."));
    
        // Open the file for dumping. Failures are logged instead of being
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 02:44:52 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/DisambiguateArtifactTransformIntegrationTest.groovy

    """
            when:
            succeeds "resolve"
    
            then:
            output.count("Minifying") == 1
            output.count('minified=true')
            output.count('Sizing') == 0
        }
    
        def "disambiguation leverages schema rules before doing it size based"() {
            given:
            createDirs("child")
            settingsFile << """
    include('child')
    """
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  6. platforms/jvm/java-platform/src/test/java/org/gradle/internal/component/model/JavaEcosystemAttributeMatcherTest.groovy

    import org.gradle.util.TestUtil
    import spock.lang.Specification
    /**
     * Tests attribute matching against configurations and their variants in the context of the JVM ecosystem.
     * Here, we apply the JVM ecosystem compatibility and disambiguation rules and verify that given a set of
     * requested attributes, the proper variant is selected.
     * <p>
     * This test aims to mirror the actual variant selection process within Gradle, specifically when one project
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/JavaBasePluginTest.groovy

            def someJar = project.tasks.create('someJar', Jar)
            someJar.destinationDirectory.get().asFile == project.libsDirectory.get().asFile
        }
    
        @Issue("gradle/gradle#8700")
        def "check default disambiguation rules (consumer=#consumer, candidates=#candidates, selected=#preferred)"() {
            given:
            JavaEcosystemSupport.UsageDisambiguationRules rules = new JavaEcosystemSupport.UsageDisambiguationRules(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            when:
            def best = schema.matcher().selectionSchema.disambiguate(attr, "bar", candidates)
    
            then:
            best == ["bar"] as Set
        }
    
        def "returns null when no disambiguation rules and requested is not one of the candidate values"() {
            def attr = Attribute.of(String)
    
            given:
            schema.attribute(attr)
            def candidates = ["foo", "bar"] as Set
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  9. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationAttributesResolveIntegrationTest.groovy

            'Thing'      | 'objects.named(Thing, "free")' | 'objects.named(Thing, "paid")'
            'OtherThing' | 'new OtherThing(name: "free")' | 'new OtherThing(name: "paid")'
        }
    
        def "compatibility and disambiguation rules can be defined by consuming build"() {
            given:
            createDirs("a", "b", "includedBuild")
            file('settings.gradle') << """
                include 'a', 'b'
                includeBuild 'includedBuild'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolutionIssuesIntegrationTest.groovy

                    }
                }
            """
    
            buildFile << """
                plugins {
                    // This plugin is needed in order to get the proper AttributeSchema compatibility/disambiguation
                    // rules. Once we understand this reproducer better, we can likely construct a graph that does not
                    // need these resolution rules.
                    id("org.jetbrains.kotlin.jvm") version "1.9.20"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 04:02:23 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top