Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for consumable (0.36 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConsumableConfiguration.java

    import org.gradle.internal.reflect.Instantiator;
    import org.gradle.internal.typeconversion.NotationParser;
    import org.gradle.internal.work.WorkerThreadRegistry;
    
    /**
     * A concrete consumable {@link DefaultConfiguration} that cannot change roles.
     */
    public class DefaultConsumableConfiguration extends DefaultConfiguration implements ConsumableConfiguration {
    
        public DefaultConsumableConfiguration(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. build-logic/packaging/src/main/kotlin/gradlebuild.public-api-jar.gradle.kts

        // This is needed because of the duplicate package-info.class files
        duplicatesStrategy = DuplicatesStrategy.WARN
    }
    
    // The consumable configuration containing the public Gradle API artifact
    // and its external dependencies.
    val gradleApiElements = configurations.consumable("gradleApiElements") {
        extendsFrom(externalApi.get())
        outgoing.artifact(task)
        configureAsRuntimeElements(objects)
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/describer/IncompatibleGraphVariantsFailureDescriber.java

        private static final String NO_MATCHING_VARIANTS_SECTION = "sub:variant-no-match";
        private static final String NO_VARIANTS_EXIST_PREFIX = "Creating consumable variants is explained in more detail at ";
        private static final String NO_VARIANTS_EXIST_SECTION = "sec:resolvable-consumable-configs";
    
        @Override
        public VariantSelectionException describeFailure(IncompatibleGraphVariantFailure failure, Optional<AttributesSchemaInternal> schema) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:02:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. 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 &gt;= 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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