Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for consumable (0.21 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/InspectsConfigurationReport.groovy

        }
    
        void doesNotHaveLegacyLegend() {
            outputDoesNotContain("(l) Legacy or deprecated configuration. Those are variants created for backwards compatibility which are both resolvable and consumable.")
        }
    
        void hasIncubatingLegend() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ConfigurationContainer.java

        /**
         * Registers a new {@link ConsumableConfiguration} with an immutable role. Consumable configurations
         * are meant to act as a variant in the context of Dependency Management and Publishing.
         *
         * @param name The name of the configuration to register.
         *
         * @return A provider which creates a new consumable configuration.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/main/java/org/gradle/api/plugins/jvm/internal/JvmFeatureInternal.java

         */
        void withApi();
    
        /**
         * Gets the consumable configuration created by {@link #withJavadocJar()}.
         *
         * @return null if {@link #withJavadocJar()} has not been called.
         */
        @Nullable
        Configuration getJavadocElementsConfiguration();
    
        /**
         * Gets the consumable configuration created by {@link #withSourcesJar()}.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/PluginConfigurationAttributesIntegrationTest.groovy

                include("producer", "consumer")
                dependencyResolutionManagement {
                    ${mavenCentralRepository()}
                }
            """
        }
    
        def "plugin runtime configuration is not consumable"() {
            given:
            file("producer/build.gradle") << """
                plugins {
                    id("$plugin")
                }
            """
    
            when:
            file("consumer/build.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConsumableConfiguration.java

    import org.gradle.internal.reflect.Instantiator;
    import org.gradle.internal.typeconversion.NotationParser;
    import org.gradle.internal.work.WorkerThreadRegistry;
    
    /**
     * A concrete consumable {@link DefaultConfiguration} that cannot change roles.
     */
    public class DefaultConsumableConfiguration extends DefaultConfiguration implements ConsumableConfiguration {
    
        public DefaultConsumableConfiguration(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/ScenarioDefinition.java

     * limitations under the License.
     */
    
    package org.gradle.performance.results;
    
    import javax.annotation.Nullable;
    import java.util.List;
    
    public interface ScenarioDefinition {
        /**
         * A human consumable display name for this definition.
         */
        String getDisplayName();
    
        /**
         * The test project name.
         */
        String getTestProject();
    
        /**
         * The tasks executed.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. build-logic/packaging/src/main/kotlin/gradlebuild.public-api-jar.gradle.kts

        // This is needed because of the duplicate package-info.class files
        duplicatesStrategy = DuplicatesStrategy.WARN
    }
    
    // The consumable configuration containing the public Gradle API artifact
    // and its external dependencies.
    val gradleApiElements = configurations.consumable("gradleApiElements") {
        extendsFrom(externalApi.get())
        outgoing.artifact(task)
        configureAsRuntimeElements(objects)
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/plugins/jvm/internal/JvmPluginServices.java

        /**
         * Configures a consumable configuration to provide an API compile classpath.
         *
         * @param configuration the configuration to be configured
         */
        void configureAsApiElements(HasConfigurableAttributes<?> configuration);
    
        /**
         * Configures a consumable configuration to provide a runtime classpath.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/type/ConfigurationNotConsumableFailure.java

     * limitations under the License.
     */
    
    package org.gradle.internal.component.resolution.failure.type;
    
    /**
     * A {@link ResolutionFailure} that represents the situation when the selected configuration
     * is not consumable.
     *
     * This is exclusive to project dependencies when a configuration is requested by name.
     */
    public final class ConfigurationNotConsumableFailure extends AbstractConfigurationSelectionFailure {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/IncompatibleGraphVariantsFailureDescriber.java

        private static final String NO_MATCHING_VARIANTS_SECTION = "sub:variant-no-match";
        private static final String NO_VARIANTS_EXIST_PREFIX = "Creating consumable variants is explained in more detail at ";
        private static final String NO_VARIANTS_EXIST_SECTION = "sec:resolvable-consumable-configs";
    
        @Override
        public VariantSelectionException describeFailure(IncompatibleGraphVariantFailure failure, Optional<AttributesSchemaInternal> schema) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:02:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top