Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for isIsolated (0.15 sec)

  1. platforms/documentation/docs/src/docs/userguide/optimizing-performance/isolated_projects.adoc

    :gradle-issues: https://github.com/gradle/gradle/issues/
    
    = Isolated Projects
    
    Isolated Projects is a pre-alpha Gradle feature that extends the configuration cache to further improve performance, in particular the performance of Android Studio and IDEA sync.
    
    When isolated projects is enabled, the configuration model of Gradle projects are "isolated" from each other.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:53:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy

            then: "fetching with Isolated Projects"
            fixture.assertStateStored {
                modelsCreated(":", GradleProject, IsolatedGradleProjectInternal)
                modelsCreated(":lib1", IsolatedGradleProjectInternal)
            }
    
            checkGradleProject(projectModel, expectedProjectModel)
    
            when: "fetching again with Isolated Projects"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/invocation/GradleLifecycle.java

         * @see IsolatedAction for the requirements to isolated actions
         * @since 8.8
         */
        @Incubating
        void beforeProject(IsolatedAction<? super Project> action);
    
        /**
         * Adds an {@link IsolatedAction isolated action} to be called immediately after a project is evaluated.
         *
         * @param action The action to execute.
         * @see IsolatedAction for the requirements to isolated actions
         * @since 8.8
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 21:28:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/tooling/internal/provider/serialization/PayloadSerializerTest.groovy

            reply.class == payloadClass
        }
    
        def "handles nested objects which are not visible from root object ClassLoader"() {
            def parent = isolated(WrapperPayload, PayloadInterface)
            def wrapperClass = parent.loadClass(WrapperPayload.name)
            def payloadClass = isolated(parent, CustomPayload).loadClass(CustomPayload.name)
            assertNotVisible(wrapperClass, payloadClass)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheKeyIntegrationTest.groovy

            then:
            configurationCache.assertStateLoaded()
        }
    
        @Issue("https://github.com/gradle/gradle/issues/26049")
        // Isolated Projects option is explicitly controlled by the test
        @Requires(IntegTestPreconditions.NotIsolatedProjects)
        def "isolated projects flag is part of the cache key"() {
            def isolatedProjects = new IsolatedProjectsFixture(this)
    
            when:
            configurationCacheRun "help"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/api/IsolatedAction.java

     */
    
    package org.gradle.api;
    
    import java.io.Serializable;
    
    /**
     * Defines an action that is applied to objects of type {@link T}, with each target getting its own isolated action instance.
     *
     * Each isolated action is re-created through Configuration Cache serialization before it is applied to a target.
     * This approach ensures that sharing mutable state across targets via any means
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:15:52 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/main/java/org/gradle/workers/WorkerExecutor.java

     *
     * <ul>
     *     <li>Parallel execution of work items within a single task</li>
     *     <li>Execution in isolated contexts such as an isolated classloader or even a separate process</li>
     *     <li>Safe execution of multiple tasks in parallel</li>
     * </ul>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIntegrationTest.groovy

                    parameter = "42"
                }
            '''
        }
    
        def configuredTaskRunsCorrectly() {
            run 'test'
            outputContains 'The parameter is `42`'
            true
        }
    
        def 'isolated beforeProject action given as Kotlin lambda can capture managed value'() {
            given:
            withSettingsPluginInBuildLogic()
    
            createDir('build-logic') {
                file('settings.gradle.kts') << ''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 16:52:09 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/invocation/IsolatedProjectEvaluationListenerProvider.java

        /**
         * @see org.gradle.api.invocation.GradleLifecycle#afterProject(IsolatedAction)
         */
        void afterProject(IsolatedAction<? super Project> action);
    
        /**
         * Returns an isolated listener for the registered actions, if any. The listener makes it impossible for
         * the actions to carry any shared mutable state across projects and can be safely executed in parallel.
         */
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:22:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginCheckInIntegrationTest.groovy

            minimumPluginVersionForConfigurationCaching | true
        }
    
        @Requires(value = IntegTestPreconditions.NotConfigCached, reason = "Isolated projects implies config cache")
        def "shows warning message when Develocity plugin version is used with isolated projects enabled"() {
            given:
            plugin.runtimeVersion = pluginVersion
            plugin.artifactVersion = pluginVersion
            applyPlugin()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top