Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 130 for consumable (0.2 sec)

  1. 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)
  2. 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)
  3. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/model/ReportConfiguration.java

            return variants;
        }
    
        public List<ReportConfiguration> getExtendedConfigurations() {
            return extendedConfigurations;
        }
    
        public boolean isPurelyConsumable() {
            return Type.CONSUMABLE == type;
        }
    
        public boolean isPurelyResolvable() {
            return Type.RESOLVABLE == type;
        }
    
        public boolean isLegacy() {
            return Type.LEGACY == type;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 17:16:59 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. 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)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolutionIssuesIntegrationTest.groovy

                configurations {
                    consumable("debugApiElements") {
                        attributes {
                            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_API))
                            attribute(Attribute.of("build-type", String), "debug")
                        }
                    }
                    consumable("releaseApiElements") {
                        attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 04:02:23 UTC 2024
    - 30K 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. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/DefaultLocalComponentGraphResolveState.java

                    return null;
                }
    
                // If the configuration exists, it must not be consumable, since variantsByConfigurationName contains
                // all consumable configurations.
                assert !conf.getMetadata().isCanBeConsumed() : "Expected configuration to be non-consumable";
    
                throw failureHandler.nonConsumableConfigurationFailure(name, component.getId());
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:25:36 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/BuildOperationDescriptor.java

         * Returns a short name for the operation. This is a short human consumable description of the operation that makes sense in the context of the parent operation.
         * See TAPI {@code OperationDescriptor}.
         */
        public String getName() {
            return name;
        }
    
        /**
         * Returns the display name for the operation. This should be a standalone human consumable description of the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/dsl/org.gradle.api.artifacts.ConfigurationContainer.xml

                </tr>
                <tr>
                    <td>getAt</td>
                </tr>
                <tr>
                    <td>detachedConfiguration</td>
                </tr>
                <tr>
                    <td>consumable</td>
                </tr>
                <tr>
                    <td>resolvable</td>
                </tr>
                <tr>
                    <td>dependencyScope</td>
                </tr>
            </table>
        </section>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 882 bytes
    - Viewed (0)
  10. 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)
Back to top