Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 182 for realizes (0.18 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/GradleProjectBuilderOptionsCrossVersionSpec.groovy

    import org.gradle.tooling.model.GradleProject
    import org.gradle.tooling.model.idea.IdeaProject
    
    @TargetGradleVersion(">=6.1")
    class GradleProjectBuilderOptionsCrossVersionSpec extends ToolingApiSpecification {
    
        def "realizes #description when fetching GradleProject with option value #optionDescription"() {
            buildFile << """
                tasks.create("a") {
                    println "realizing non-lazy task"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMetadataSource.java

    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.plugin.LegacySupport;
    import org.apache.maven.project.ProjectBuilder;
    
    /**
     * This realizes the metadata source via the default hint to provide backward-compat with Maven 2.x whose Plexus version
     * registered component descriptors twice: once keyed by role+roleHint and once keyed by role only. This effectively
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/collections/ElementSource.java

    public interface ElementSource<T> extends Iterable<T>, WithEstimatedSize, PendingSource<T>, WithMutationGuard {
        /**
         * Iterates over and realizes each of the elements of this source.
         */
        @Override
        Iterator<T> iterator();
    
        /**
         * Iterates over only the realized elements (without flushing any pending elements)
         */
        Iterator<T> iteratorNoFlush();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:12:15 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/SortedSetElementSourceTest.groovy

        }
    
        def "realizes pending elements on flush"() {
            when:
            source.addPending(provider1)
            source.addPending(provider2)
            source.addPending(provider3)
            source.realizePending()
    
            then:
            source.iteratorNoFlush().collect() == ["provider1", "provider2", "provider3"]
        }
    
        def "realizes only pending elements with a given type"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:12:14 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/WellBehavedPluginTest.groovy

            target << "apply plugin: '${getPluginName()}'\n"
        }
    
        def "does not realize all possible tasks"() {
            // TODO: This isn't done yet, we still realize many tasks
            // Eventually, this should only realize "help"
    
            Assume.assumeFalse(pluginName in [
                'xctest', // Almost, still realizes compileTestSwift
    
                'visual-studio',
                'xcode',
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:39:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/CollectionSupplier.java

     *
     * @param <T> the type of elements
     * @param <C> type of collection
     */
    interface CollectionSupplier<T, C extends Collection<? extends T>> extends ValueSupplier {
        /**
         * Realizes and returns the (collection) value.
         */
        Value<? extends C> calculateValue(ValueConsumer consumer);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 05:02:13 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/language/internal/DefaultBinaryCollection.java

            }
            elements.add(element);
        }
    
        /**
         * Realizes the contents of this collection, running configuration actions and firing notifications. No further elements can be added.
         */
        public void realizeNow() {
            if (state != State.Collecting) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/collections/SortedSetElementSource.java

                // Collect elements discarding potential side effects aggregated in the returned value
                collector.collectInto(builder);
                List<T> realized = builder.build();
                for (T element : realized) {
                    doAddRealized(element);
                }
            }
        }
    
        private void doAddRealized(T value) {
            if (values.add(value) && addRealizedAction != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/GradleProjectBuilder.java

            return buildHierarchy(project.getRootProject(), realizeTasks);
        }
    
        /**
         * When {@code realizeTasks} is false, the project's task graph will not be realized, and the task list in the model will be empty
         */
        private static DefaultGradleProject buildHierarchy(Project project, boolean realizeTasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable(['bar'])
        }
    
        def "can remove all elements"() {
            when:
            mutate {
                add 'foo'
                add 'bar'
                clear()
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable([])
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top