Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setAttributeDisambiguationPrecedence (1.18 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            given:
            sampleDoc << """
    === Invalid Javadoc Links
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 28 22:01:54 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/attributes/AttributesSchema.java

         * will fail.
         *
         * @param attributes the attributes in order
         *
         * @since 7.5
         * @see #setAttributeDisambiguationPrecedence(List)
         */
        @Incubating
        void attributeDisambiguationPrecedence(Attribute<?>... attributes);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 07 20:56:10 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/EmptySchemaTest.groovy

            EmptySchema.INSTANCE.attributeDisambiguationPrecedence(Attribute.of("attribute", String))
            then:
            thrown(UnsupportedOperationException)
    
            when:
            EmptySchema.INSTANCE.setAttributeDisambiguationPrecedence([Attribute.of("attribute", String)])
            then:
            thrown(UnsupportedOperationException)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/EmptySchema.java

        }
    
        @Override
        public void attributeDisambiguationPrecedence(Attribute<?>... attribute) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public void setAttributeDisambiguationPrecedence(List<Attribute<?>> attributes) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public List<Attribute<?>> getAttributeDisambiguationPrecedence() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/DefaultAttributesSchema.java

                    throw new IllegalArgumentException(String.format("Attribute '%s' precedence has already been set.", attribute.getName()));
                }
            }
        }
    
        @Override
        public void setAttributeDisambiguationPrecedence(List<Attribute<?>> attributes) {
            precedence.clear();
            attributeDisambiguationPrecedence(attributes.toArray(new Attribute<?>[0]));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 16:59:54 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ResolvableConfigurationsReportTaskIntegrationTest.groovy

                        disambiguationRules.add(CategorySelectionRule)
                    }
    
                    def usage = getAttributes().find { it.name == 'org.gradle.usage' }
                    setAttributeDisambiguationPrecedence([flavor, usage])
                }
            """.stripIndent()
    
            when:
            succeeds ':resolvableConfigurations'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    [[changes_7.6]]
    == Upgrading from 7.5 and earlier
    
    === Updates to Attribute Disambiguation Rules related methods
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top