Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 156 for isIsolated (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/impl/DefaultDevelocityBuildLifecycleService.java

            this.gradle = gradle;
            this.features = features;
        }
    
        @Override
        public void beforeProject(Action<? super Project> action) {
            // Preserve behavior when Isolated Projects is not enabled:
            // - `allprojects` executes eagerly before any project has been evaluated, allowing its effects
            //   to be observable from other eager configuration blocks (e.g., `subprojects { ... }`).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 21:44:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.isolated
    
    import org.gradle.api.tasks.TasksWithInputsAndOutputs
    import org.gradle.test.fixtures.file.TestFile
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/operations/configuration/IsolatedProjectsSettingsBuildOperationsIntegrationTest.groovy

            when:
            succeeds("help", "-Dorg.gradle.unsafe.isolated-projects=$enabled")
            then:
            isolatedProjectsEvents().enabled == [enabled]
            configurationCacheEvents().enabled == [GradleContextualExecuter.configCache || enabled]
    
            // Ensure events are produced on CC hit as well
            when:
            succeeds("help", "-Dorg.gradle.unsafe.isolated-projects=$enabled")
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultBuildTreeModelControllerServices.kt

            val startParameter = requirements.startParameter
    
            // Isolated projects also implies configuration cache
            if (startParameter.isolatedProjects.get() && !startParameter.configurationCache.get()) {
                if (startParameter.configurationCache.isExplicit) {
                    throw GradleException("The configuration cache cannot be disabled when isolated projects is enabled.")
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsBuildFeatureIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.isolated
    
    class IsolatedProjectsBuildFeatureIntegrationTest extends AbstractIsolatedProjectsIntegrationTest {
    
        def "build feature indicates requested and active status"() {
            buildFile """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top