Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 125 for consumable (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. subprojects/core-api/src/main/java/org/gradle/api/artifacts/Configuration.java

         * the project it belongs to. The default value is true.
         *
         * @implSpec Usage: This method should only be called on consumable configurations, but will not warn if used otherwise.
         *
         * @param visible true if this is a visible configuration
         * @return this configuration
         */
        Configuration setVisible(boolean visible);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ConfigurationInternal.java

         * Returns the role used to create this configuration and set its initial allowed usage.
         */
        ConfigurationRole getRoleAtCreation();
    
        /**
         * Indicates if the allowed usages of this configuration (consumable, resolvable, declarable) can be changed.
         *
         * @return {@code true} if so; {@code false} otherwise
         */
        boolean usageCanBeMutated();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ResolvableConfigurationsReportTaskIntegrationTest.groovy

            expect:
            succeeds ':resolvableConfigurations'
            reportsCompleteAbsenceOfResolvableConfigurations()
        }
    
        def "if only consumable configurations present, task reports complete absence"() {
            given:
            buildFile << """
                configurations.create("custom") {
                    description = "My custom configuration"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolutionResultApiIntegrationTest.groovy

            """
            file("producer/build.gradle") << """
                configurations {
                    dependencyScope("runtimeOnly")
                    dependencyScope("implementation")
                    consumable("runtimeElements") {
                        attributes.attribute(Attribute.of("attr1", Named), objects.named(Named,"value"))
                        extendsFrom(runtimeOnly, implementation)
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  10. platforms/software/publish/src/main/java/org/gradle/api/publish/PublishingExtension.java

         */
        PublicationContainer getPublications();
    
        /**
         * Configures the publications of this project.
         * <p>
         * The publications container defines the outgoing publications of the project. That is, the consumable representations of things produced
         * by building the project. An example of a publication would be an Ivy Module (i.e. {@code ivy.xml} and artifacts), or
         * Maven Project (i.e. {@code pom.xml} and artifacts).
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top