Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 130 for consumable (0.33 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/dependencies/LocalConfigurationMetadataBuilder.java

         * A cache of the defined dependencies for dependency configurations. This tracks the cached internal
         * dependency representations for these types so when constructing leaf configuration metadata
         * (resolvable and consumable), these conversions do not need to be executed multiple times.
         */
        class DependencyCache {
            private final Map<String, DefaultLocalConfigurationMetadataBuilder.DependencyState> cache = new HashMap<>();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. tests/integration/pilot/testdata/mcs-serviceexport-crd.yaml

              jsonPath: .metadata.creationTimestamp
          "schema":
            "openAPIV3Schema":
              description: ServiceExport declares that the Service with the same name and
                namespace as this export should be consumable from other clusters.
              type: object
              properties:
                apiVersion:
                  description: 'APIVersion defines the versioned schema of this representation
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 00:51:29 UTC 2021
    - 4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ProjectDependenciesIntegrationTest.groovy

                        attributes {
                            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, "foo"))
                        }
                    }
                    consumable("cons") {
                        attributes {
                            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, "foo"))
                        }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:37:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top