Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for consumable (0.19 sec)

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

                    archiveBaseName = "wrong"
                }
                task firstZip(type: Zip) {
                    archiveBaseName = "first"
                }
    
                configurations {
                    consumable("blah") {
                        attributes {
                            attribute(Attribute.of('custom', String), "foo")
                            attribute(Attribute.of('attr', String), "incorrect")
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 02:13:52 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

            }
        }
    
        @Override
        public void setAllowedUsageFromRole(ConfigurationRole role) {
            if (isCanBeConsumed() != role.isConsumable()) {
                setCanBeConsumedInternal(role.isConsumable());
            }
            if (isCanBeResolved() != role.isResolvable()) {
                setCanBeResolvedInternal(role.isResolvable());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

              - Provides flavor 'free' but the consumer didn't ask for it""")
        }
    
        def "does not select default configuration when no configurations with attributes and default configuration is not consumable"() {
            given:
            createDirs("a", "b")
            file('settings.gradle') << "include 'a', 'b'"
            buildFile << """
                $typeDefs
    
                project(':a') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

        }
    
        void "deprecations are passed to copies when corresponding role is #baseRole"() {
            ConfigurationRole role = new DefaultConfigurationRole("test", baseRole.consumable, baseRole.resolvable, baseRole.declarable, true, true, true)
            def configuration = prepareConfigurationForCopyTest(conf("conf", ":", ":", role))
            def resolutionStrategyCopy = Mock(ResolutionStrategyInternal)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    These configurations were deprecated for consumption and are now no longer consumable.
    Attempting to consume them will result in an error.
    
    ==== Identical consumable configurations are now an error
    
    If a project has multiple consumable configurations that share the same attributes and capabilities declaration, the build will fail when publishing or resolving as a dependency that project.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    * Resolvable configurations should not have their resolution strategy, dependencies, hierarchy, etc. modified after they have been resolved.
    * Consumable configurations should not have their dependencies, hierarchy, attributes, etc. modified after they have been published or consumed as a variant.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
  7. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/OutgoingVariantsReportTaskIntegrationTest.groovy

                }
            """
    
            when:
            executer.expectDeprecationWarning('(l) Legacy or deprecated configuration. Those are variants created for backwards compatibility which are both resolvable and consumable.')
            run ':outgoingVariants', '--all'
    
            then:
            result.groupedOutput.task(":outgoingVariants").assertOutputContains("""--------------------------------------------------
    Variant legacy (l)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    The plugin declares a consumable `binaryTestResultsElements` configuration that represents the binary test results of the `test` task.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/dependency_verification.adoc

    Executing this command line will cause Gradle to:
    
    * resolve all <<declaring_dependencies.adoc#sec:resolvable-consumable-configs,resolvable configurations>>, which includes:
    ** configurations from the root project
    ** configurations from all subprojects
    ** configurations from `buildSrc`
    ** included builds configurations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:36:31 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * </p>
         *
         * @return The name of this project. Never return null.
         */
        String getName();
    
        /**
         * Returns a human-consumable display name for this project.
         */
        String getDisplayName();
    
        /**
         * Returns the description of this project, if any.
         *
         * @return the description. May return null.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
Back to top