- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 49 for consumable (0.3 sec)
-
platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc
By default, `resolvableConfigurations` prints information about all purely resolvable configurations. These are configurations that are marked resolvable but *not* marked consumable. Though some resolvable configurations are also marked consumable, these are legacy configurations that should *not* have dependencies added in build scripts.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 34.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationFactory.java
taskDependencyFactory ); instance.addMutationValidator(rootComponentMetadataBuilder.getValidator()); return instance; } /** * Creates a new locked consumable configuration instance. */ DefaultConsumableConfiguration createConsumable( String name, ConfigurationsProvider configurationsProvider,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:29:40 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/DefaultExternalComponentGraphResolveState.java
if (conf == null) { return null; } assert conf.getMetadata().isCanBeConsumed() : "External components' configurations are always consumable"; return conf.asVariant(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishExternalVariantIntegrationTest.groovy
given: publishes(multiCoordinateComponent { compilation("first") }) file("other/build.gradle") << """ configurations { consumable("extraRuntimeElements") { attributes { attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, "extra")) } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 22:25:49 UTC 2023 - 37.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)