Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for consumable (0.17 sec)

  1. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Timer.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.time;
    
    public interface Timer {
    
        /**
         * @return A human-consumable description of the elapsed time.
         */
        String getElapsed();
    
        /**
         * Return the elapsed time in ms. Returned value is always >= 0.
         * @return The elapsed time, in ms.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/RoleBasedConfigurationContainerInternal.java

    @ServiceScope(Scope.Project.class)
    public interface RoleBasedConfigurationContainerInternal extends ConfigurationContainer {
    
        /**
         * Creates a consumable configuration which can change roles.
         */
        Configuration consumableUnlocked(String name);
    
        /**
         * Creates a consumable configuration which can change roles and executes the provided
         * {@code action} against the configuration.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/core-plugins/base_plugin.adoc

    `assemble` — _lifecycle task_::
    Plugins and build authors should attach tasks that produce distributions and other consumable artifacts to this lifecycle task. For example, `jar` produces the consumable artifact for Java libraries. Attach tasks to this lifecycle task using `assemble.dependsOn(__task__)`.
    
    `build` — _lifecycle task_::
    _Depends on_: `check`, `assemble`
    +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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. 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)
  10. 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)
Back to top