Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for consumable (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Timer.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.time;
    
    public interface Timer {
    
        /**
         * @return A human-consumable description of the elapsed time.
         */
        String getElapsed();
    
        /**
         * Return the elapsed time in ms. Returned value is always &gt;= 0.
         * @return The elapsed time, in ms.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top