Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 221 for realized (0.12 sec)

  1. 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)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/task_configuration_avoidance.adoc

    ----
    =====
    ====
    Executing the `gradle check` task should execute `verificationTask`, but with this example, it won't.
    This is because the dependency between `verificationTask` and `check` only happens when `verificationTask` is realized.
    To avoid issues like this, you must only modify the task associated with the configuration action.
    Other tasks should be modified in their own configuration action:
    +
    ====
    [.multi-language-sample]
    =====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 27 23:45:25 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/cleanup/DefaultBuildOutputCleanupRegistry.java

                    // Some tasks cannot declare the dependencies on other projects, yet, for example the dependencies task.
                    // When configure on demand is enabled, those other projects are realized at execution time, long after the BuildOutputRegistry
                    // has been finalized. We ignore those problems for now, until the dependencies can be declared properly.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/NamedDomainObjectContainerIntegrationTest.groovy

                    tasks.create(it.name)
                }
                toBeRealized.get()
    
                task verify {
                    doLast {
                        assert tasks.findByName("realized") != null
                        assert tasks.findByName("toBeRealized") != null
                    }
                }
            """
    
            expect:
            succeeds "verify"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedTypeReferencesIntegrationTest.groovy

            output.contains("os: OperatingSystem 'os.windows'")
            output.contains("platform name: windows")
        }
    
        def "reference can have null value when parent model element is realized"() {
            when:
            buildScript '''
                @Managed
                interface Platform {
                    String getDisplayName()
                    void setDisplayName(String name)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractNamedDomainObjectContainerTest.groovy

            then:
            def ex = thrown(IllegalStateException)
            ex.message == "The domain object 'obj' (TestObject) for this provider is no longer present in its container."
        }
    
        def "can remove realized registered element using register provider"() {
            when:
            def provider = container.register('obj')
            def obj = provider.get()
    
            then:
            provider.present
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 27 06:24:30 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TaskOriginCrossVersionSpec.groovy

            task(':build').originPlugin.displayName == "org.gradle.language.base.plugins.LifecycleBasePlugin"
        }
    
        def "reports task origin for lazily realized tasks"() {
            given:
            buildFile << """
                tasks.register('lazyTask') {
                    doLast { println 'nothing to see here' }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskCollection.java

        /**
         * Adds an {@code Action} to be executed when a task is added to this collection.
         * <p>
         * Like {@link #all(Action)}, this method will cause all tasks in this container to be realized.
         * </p>
         *
         * @param action The action to be executed
         * @return the supplied action
         */
        @SuppressWarnings("UnusedDeclaration")
        Action<? super T> whenTaskAdded(Action<? super T> action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:18:33 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/DefaultDomainObjectCollection.java

            this(filter.getType(), collection.filteredStore(filter), collection.filteredEvents(filter));
        }
    
        protected void realized(ProviderInternal<? extends T> provider) {
            getStore().realizeExternal(provider);
        }
    
        public Class<? extends T> getType() {
            return type;
        }
    
        protected ElementSource<T> getStore() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

     *     of the Java collection this collection property corresponds to</li>
     *     <li>{@link CollectingSupplier}, when the collection is still being added to - in that case,
     *     the collecting supplier will wrap a {@link Collector} that lazily represents the yet-to-be realized contents of the collection - see below for details</li>
     * </ul>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top