Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 117 for consumable (0.17 sec)

  1. platforms/documentation/docs/src/docs/userguide/jvm/java_library_plugin.adoc

    The role of each configuration is described in the following tables:
    
    .Java Library plugin - configurations used to declare dependencies
    [%header%autowidth,compact]
    |===
    | Configuration name | Role | Consumable? | Resolvable? | Description
    
    | `api`
    | Declaring API dependencies
    | no
    | no
    | This is where you declare dependencies which are transitively exported to consumers, for compile time and runtime.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/model/ConfigurationReportModelFactory.java

            } else if (configuration.isCanBeResolved()) {
                type = ReportConfiguration.Type.RESOLVABLE;
            } else if (configuration.isCanBeConsumed()) {
                type = ReportConfiguration.Type.CONSUMABLE;
            } else {
                type = null;
            }
    
            return new ReportConfiguration(configuration.getName(), configuration.getDescription(), type, new ArrayList<>(lenientErrors),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:34:52 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. 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)
  4. platforms/documentation/docs/src/docs/userguide/dep-man/06-publishing/publishing_gradle_module_metadata.adoc

    |Artifacts are uploaded, dependencies are those described by the mapping
    |Artifacts are uploaded, dependencies are ignored
    |Custom component types are probably not consumable from Maven or Ivy in any case. They usually exist in the context of a custom ecosystem.
    
    |===
    
    === Disabling metadata compatibility publication warnings
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidPluginsSmokeTest.groovy

                    }
                    onPlugins(failingPlugins) {
                        failsWith([
                            (missingAnnotationMessage { type('com.android.build.gradle.internal.TaskManager.ConfigAttrTask').property('consumable').missingInputOrOutput().includeLink() }): ERROR,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/GraphVariantSelector.java

            maybeEmitConsumptionDeprecation(conf);
            return conf;
        }
    
        /**
         * Ensures the target variant matches the request attributes and is consumable. This needs to be called
         * for variants that are selected by means other than attribute matching.
         *
         * Note: This does not need to be called for variants selected via attribute matching, since
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/native/swift_application_plugin.adoc

    .Swift Application Plugin configurations
    image::swift-application-configurations.png[]
    
    * The configurations in white are the ones a user should use to declare dependencies
    * The configurations in pink, also known as consumable denoted by \(C), are the ones used when a component runs against the library
    * The configurations in blue, also known as resolvable denoted by \(R), are internal to the component, for its own use
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/external/model/AbstractMutableModuleComponentResolveMetadataTest.groovy

            immutable3.variants[0].dependencies.size() == 2
            immutable3.variants[1].dependencies.size() == 1
            immutable3.variants[2].dependencies.empty
        }
    
        def "variants are attached as consumable configurations used for variant aware selection"() {
            def id = DefaultModuleComponentIdentifier.newId(DefaultModuleIdentifier.newId("group", "module"), "version")
            def metadata = createMetadata(id)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top