Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for consumable (0.23 sec)

  1. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/jvm/internal/DefaultJvmFeature.java

     * configurations, compile task, and jar task. This feature creates a jar task and javadoc task, and
     * can optionally also create consumable javadoc and sources jar variants.
     *
     * <p>This can be used to create production libraries, applications, test suites, test fixtures,
     * or any other consumable JVM feature.</p>
     *
     * <p>This feature can conditionally be configured to instead "extend" the production code. In that case, this
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 21K bytes
    - Viewed (0)
  2. platforms/jvm/java-platform/src/test/java/org/gradle/internal/component/model/JavaEcosystemAttributeMatcherTest.groovy

     * <p>
     * This test aims to mirror the actual variant selection process within Gradle, specifically when one project
     * is resolving their own configurations which in turn depend on the consumable configurations of other Gradle
     * projects. This test does not attempt to model or test the interactions with published artifacts.
     */
    class JavaEcosystemAttributeMatcherTest extends Specification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dependencies/DefaultProjectDependency.java

            return selectedConfiguration;
        }
    
        /**
         * Fails the resolution of the project dependency because the selected configuration is not consumable by
         * throwing the appropriate exception.
         *
         * This method is kind of ugly.  If we could get a hold of the ResolutionFailureHandler in this class, we could use the typical
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 13:59:13 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RootComponentResolutionIntegrationTest.groovy

            expect:
            succeeds("resolve")
        }
    
        def "buildscript resolvable configuration and consumable configuration from same project live in same resolved component"() {
            buildFile << """
                buildscript {
                    configurations {
                        conf {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 23 22:33:17 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/artifacts/Configuration.java

         * the project it belongs to. The default value is true.
         *
         * @implSpec Usage: This method should only be called on consumable configurations, but will not warn if used otherwise.
         *
         * @param visible true if this is a visible configuration
         * @return this configuration
         */
        Configuration setVisible(boolean visible);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ResolvableConfigurationsReportTaskIntegrationTest.groovy

            expect:
            succeeds ':resolvableConfigurations'
            reportsCompleteAbsenceOfResolvableConfigurations()
        }
    
        def "if only consumable configurations present, task reports complete absence"() {
            given:
            buildFile << """
                configurations.create("custom") {
                    description = "My custom configuration"
    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/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

            """
            file("producer/build.gradle") << """
                configurations {
                    dependencyScope("runtimeOnly")
                    dependencyScope("implementation")
                    consumable("runtimeElements") {
                        attributes.attribute(Attribute.of("attr1", Named), objects.named(Named,"value"))
                        extendsFrom(runtimeOnly, implementation)
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/declaring_dependencies.adoc

    include::sample[dir="snippets/dependencyManagement/definingUsingConfigurations-inheritance/groovy",files="build.gradle[tags=configuration-definition]"]
    ====
    
    [[sec:resolvable-consumable-configs]]
    == Resolvable and consumable configurations
    
    Configurations are a fundamental part of dependency resolution in Gradle.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 30.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/dependency_management_terminology.adoc

    For more information, see the sections on <<declaring_dependencies.adoc#sec:what-are-dependency-configurations,dependency configurations>> as well as <<declaring_dependencies.adoc#sec:resolvable-consumable-configs,resolvable and consumable configurations>>.
    
    NOTE: The word "configuration" is an overloaded term and has a different meaning outside of the context of dependency management.
    
    [[sub:terminology_dependency]]
    == Dependency
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/renderer/ConsoleConfigurationReportRenderer.java

                if (hasLegacyConfigs) {
                    message("Re-run this report with the '--all' flag to include legacy " + spec.getReportedTypeAlias() + "s (legacy = consumable and resolvable).");
                }
            } else {
                writeResults(data, nonLegacyConfigs);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 16:17:12 UTC 2022
    - 18.3K bytes
    - Viewed (0)
Back to top