Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 64 for consumable (0.35 sec)

  1. 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)
  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. 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)
  4. 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)
  5. platforms/software/platform-base/src/integTest/groovy/org/gradle/api/plugins/BasePluginIntegrationTest.groovy

                    id("base")
                }
    
                task jar1(type: Jar) {}
                task jar2(type: Jar) {}
                task jar3(type: Jar) {}
    
                configurations {
                    consumable("con") {
                        outgoing.artifact(tasks.jar1)
                    }
                    resolvable("res") {
                        outgoing.artifact(tasks.jar2)
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

            return cachedToString;
        }
    
        public Units<Q> getUnits() {
            return units;
        }
    
        public BigDecimal getValue() {
            return value;
        }
    
        /**
         * Returns a human consumable string representation of this amount.
         */
        public String format() {
            if (cachedFormattedString == null) {
                cachedFormattedString = doFormat();
            }
            return cachedFormattedString;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/DefaultProjectDependencyTest.groovy

            then:
            1 * context.add(conf)
            1 * context.add({ it.is(conf.allArtifacts) })
            0 * _
        }
    
        void "doesn't allow selection of configuration is not consumable"() {
            def context = Mock(TaskDependencyResolveContext)
    
            project.configurations.create('conf') {
                canBeConsumed = false
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-jvm-test-suite/src/main/java/org/gradle/api/plugins/JvmTestSuitePlugin.java

                });
            });
        }
    
        private void addTestResultsVariant(ProjectInternal project, JvmTestSuite suite, JvmTestSuiteTarget target) {
            final Configuration variant = project.getConfigurations().consumable(TEST_RESULTS_ELEMENTS_VARIANT_PREFIX + StringUtils.capitalize(target.getName())).get();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 21:08:13 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/EarPlugin.java

        private void configureConfigurations(final ProjectInternal project) {
            RoleBasedConfigurationContainerInternal configurations = project.getConfigurations();
    
            // Once these configurations become non-consumable, we can use
            // 'jvmPluginServices.configureAsRuntimeClasspath()' to configure the configurations.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 12 16:57:15 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractMinimalProvider.java

            return new FlatMapProvider<>(this, transformer);
        }
    
        /**
         * Returns the human consumable display name for this provider, or null if this is not known.
         */
        @Nullable
        protected DisplayName getDeclaredDisplayName() {
            return null;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top