Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 130 for consumable (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/declaring_dependencies.adoc

    include::sample[dir="snippets/dependencyManagement/definingUsingConfigurations-inheritance/groovy",files="build.gradle[tags=configuration-definition]"]
    ====
    
    [[sec:resolvable-consumable-configs]]
    == Resolvable and consumable configurations
    
    Configurations are a fundamental part of dependency resolution in Gradle.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 30.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/dependency_management_terminology.adoc

    For more information, see the sections on <<declaring_dependencies.adoc#sec:what-are-dependency-configurations,dependency configurations>> as well as <<declaring_dependencies.adoc#sec:resolvable-consumable-configs,resolvable and consumable configurations>>.
    
    NOTE: The word "configuration" is an overloaded term and has a different meaning outside of the context of dependency management.
    
    [[sub:terminology_dependency]]
    == Dependency
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/configurations/renderer/ConsoleConfigurationReportRenderer.java

                if (hasLegacyConfigs) {
                    message("Re-run this report with the '--all' flag to include legacy " + spec.getReportedTypeAlias() + "s (legacy = consumable and resolvable).");
                }
            } else {
                writeResults(data, nonLegacyConfigs);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 16:17:12 UTC 2022
    - 18.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/DependenciesAttributesIntegrationTest.groovy

                    archiveBaseName = "wrong"
                }
                task firstZip(type: Zip) {
                    archiveBaseName = "first"
                }
    
                configurations {
                    consumable("blah") {
                        attributes {
                            attribute(Attribute.of('custom', String), "foo")
                            attribute(Attribute.of('attr', String), "incorrect")
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 02:13:52 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  10. src/cmd/link/internal/benchmark/bench.go

    }
    
    // shouldPProf returns true if we should be doing pprof runs.
    func (m *Metrics) shouldPProf() bool {
    	return m != nil && len(m.filebase) > 0
    }
    
    // makeBenchString makes a benchmark string consumable by Go's benchmarking tools.
    func makeBenchString(name string) string {
    	needCap := true
    	ret := []rune("Benchmark")
    	for _, r := range name {
    		if unicode.IsSpace(r) {
    			needCap = true
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top