Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 130 for consumable (0.48 sec)

  1. platforms/jvm/java-platform/src/main/java/org/gradle/api/plugins/JavaPlatformPlugin.java

        // Dependency scopes
        public static final String API_CONFIGURATION_NAME = "api";
        public static final String RUNTIME_CONFIGURATION_NAME = "runtime";
    
        // Consumable configurations
        public static final String API_ELEMENTS_CONFIGURATION_NAME = "apiElements";
        public static final String RUNTIME_ELEMENTS_CONFIGURATION_NAME = "runtimeElements";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 11K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/cross_project_publications.adoc

    First, a producer needs to declare a configuration which is going to be _exposed_ to consumers.
    As explained in the <<declaring_dependencies.adoc#sec:resolvable-consumable-configs, configurations chapter>>, this corresponds to a _consumable configuration_.
    
    Let's imagine that the consumer requires _instrumented classes_ from the producer, but that this artifact is _not_ the main one.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyResolveIntegrationTest.groovy

                    constraint("org:bar:{strictly 1.0}", "org:bar:1.0")
                }
            }
        }
    
        // TODO: This is not desired behavior. We should deprecate and forbid this.
        def "can consume non-consumable project configuration when substituted as a transitive dependency"() {
    
            file("included/settings.gradle") << """
                rootProject.name = "transitive"
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 13:59:13 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top