Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 120 for consumable (0.18 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/ConfigurationMetadataFactory.java

     */
    public interface ConfigurationMetadataFactory {
    
        /**
         * Visit all configurations in this component that can be selected in a dependency graph.
         *
         * <p>This includes all consumable configurations with and without attributes. Configurations visited
         * by this method may not be suitable for selection via attribute matching.</p>
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceTestHistory.java

            return convertToId(getDisplayName());
        }
    
        static String convertToId(String displayName) {
            return displayName.replaceAll("[^a-zA-Z0-9]", "-");
        }
    
        /**
         * A human consumable display name for this performance test.
         */
        default String getDisplayName() {
            return getExperiment().getDisplayName();
        }
    
        PerformanceExperiment getExperiment();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/events/InternalOperationDescriptor.java

         * a human each child operation of a given operation.
         */
        String getName();
    
        /**
         * Returns a human consumable display name for the operation. This display name should generally provide enough context
         * to uniquely identify the operation to a human.
         *
         * @return The display name of the operation
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/plugin/devel/variants/TargetJVMVersionOnLibraryTooNewFailureDescriberIntegrationTest.groovy

            """
    
            producer.file('build.gradle') << """
                plugins {
                    id('java-library')
                }
    
                configurations {
                    consumable("nonLibrary") {
                        attributes {
                            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.class, Category.VERIFICATION))
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/component_capabilities.adoc

    ====
    
    Capabilities must be attached to _outgoing configurations_, which are <<declaring_dependencies.adoc#sec:resolvable-consumable-configs,consumable configurations>> of a component.
    
    This example shows that we declare two capabilities:
    
    1. `com.acme:my-library:1.0`, which corresponds to the _implicit capability_ of the library
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/library_vs_application.adoc

    This is where the <<variant_model.adoc#understanding-variant-selection,variant model>> of Gradle comes into play.
    
    In Gradle, _producer variants_ are exposed via <<declaring_dependencies.adoc#sec:resolvable-consumable-configs,consumable configurations>>.
    
    [[sub:strong-encapsulation]]
    == Strong encapsulation
    
    In order for a producer to compile a library, it needs all its _implementation dependencies_ on the compile classpath.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. 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)
  8. subprojects/public-api/build.gradle.kts

            }
        }
        repositories {
            maven {
                name = "test"
                url = testRepoLocation.get().asFile.toURI()
            }
        }
    }
    
    val testRepoElements = configurations.consumable("testRepoElements") {
        outgoing.artifact(testRepoLocation) {
            builtBy( "publishMavenPublicationToTestRepository")
        }
        // TODO: De-duplicate this. See publish-public-libraries
        attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 13:15:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. 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)
  10. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/component/ConfigurationSoftwareComponentVariant.java

    import org.gradle.api.internal.component.AbstractSoftwareComponentVariant;
    
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * A {@link SoftwareComponentVariant} based on a consumable {@link Configuration}.
     */
    public class ConfigurationSoftwareComponentVariant extends AbstractSoftwareComponentVariant {
        protected final String name;
        private final Configuration configuration;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top