Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 372 for SELECTION (4.07 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/LocalFileDependencyBackedArtifactSet.java

     * dependencies are executed. For this reason, we delay artifact selection until after this artifact
     * set is restored from the configuration cache. This differs from normal artifact variant selection
     * where we can perform selection before serialization.</p>
     *
     * <p>The tricky part that due to the artifactType registry, artifact variant selection depends on the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/reproducibility/FailOnDynamicVersionsResolveIntegrationTest.groovy

            then:
            failure.assertHasCause("Could not resolve org:transitive:1.+: Resolution strategy disallows usage of dynamic versions")
        }
    
        def "fails if a transitive dynamic selector participates in selection"() {
            buildFile << """
                dependencies {
                    conf 'org:test:1.0'
                    conf 'org:testB:1.0'
                }
            """
    
            repository {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

       SELECTED_BY_RULE : fix comes from component selection rule
       CONSTRAINT : ${useReason?'This reason comes from a constraint':'constraint'}
    """)
            where:
            useReason << [true, false]
        }
    
        @ToBeFixedForConfigurationCache(because = "task exercises the resolution result API")
        def "direct dependency reasons are not mis-showing up as a separate REQUESTED and do not overwrite selection by rule"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRulesTest.groovy

                1 * getGroup() >> "org.gradle"
                (0..1) * getModule() >> "api"
            }
            def selection = Stub(ComponentSelection) {
                getCandidate() >> candidate
            }
    
            expect:
            spec.isSatisfiedBy(selection) == matches
    
            where:
            group        | name  | matches
            "org.gradle" | "api" | true
            "org.gradle" | "lib" | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/inspectingDependencies-dependencyInsightReport/tests/dependencyInsightReport.out

    commons-codec:commons-codec:1.7
      Variant default:
        | Attribute Name    | Provided | Requested |
        |-------------------|----------|-----------|
        | org.gradle.status | release  |           |
       Selection reasons:
          - By conflict resolution: between versions 1.7 and 1.6
    
    commons-codec:commons-codec:1.7
    \--- scm
    
    commons-codec:commons-codec:1.6 -> 1.7
    \--- org.apache.httpcomponents:httpclient:4.3.6
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 580 bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/InspectsConfigurationReport.groovy

        }
    
        void doesNotHaveSecondaryVariantsLegend() {
            outputDoesNotContain("(*) Secondary variants are variants created via the Configuration#getOutgoing(): ConfigurationPublications API which also participate in selection, in addition to the configuration itself.")
        }
    
        void hasLegacyLegend() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/GradleCoreProblemGroup.java

        private static final DefaultProblemGroup TASK_SELECTION_PROBLEM_GROUP = new DefaultProblemGroup("task-selection", "Task selection");
        private static final DefaultProblemGroup VERSION_CATALOG_PROBLEM_GROUP = new DefaultProblemGroup("dependency-version-catalog", "Version catalog");
    
        public static CompilationProblemGroup compilation() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/VariantResolvingArtifactSet.java

        }
    
        /**
         * Gets all artifact variants that should be considered for artifact selection.
         *
         * <p>This emulates the normal variant selection process where graph variants are first
         * considered, then artifact variants. We first consider graph variants, which leverages the
         * same algorithm used during graph variant selection. This considers requested and declared
         * capabilities.</p>
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

    private inline fun <reified T : KtElement> KtFile.findSmallestElementOfTypeContainingSelection(selection: TextRange): T? =
        findElementAt(selection.startOffset)
            ?.parentsOfType<T>(withSelf = true)
            ?.firstOrNull { selection in it.textRange }
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/ModuleVersionNotFoundExceptionTest.groovy

            expect:
            exception.message == toPlatformLineSeparators("""Could not find any version that matches org:a:1.+.
    Versions that do not match:
      - 0.9
      - 0.10
    Versions rejected by component selection rules:
      - 1.1
      - 1.2
    Searched in the following locations:
      - http://somewhere
      - file:/somewhere""")
        }
    
        def "formats message for selector and locations when versions attempted and all rejected"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top