Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 236 for isIsolated (0.34 sec)

  1. 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)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BuildScanPluginSmokeTest.groovy

        @Requires(value = IntegTestPreconditions.NotConfigCached, reason = "Isolated projects implies config cache")
        def "can use plugin #version with isolated projects"() {
            given:
            def versionNumber = VersionNumber.parse(version)
    
            when:
            usePluginVersion version
    
            then:
            scanRunner("-Dorg.gradle.unsafe.isolated-projects=true")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. 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)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectSpec.groovy

            expect:
            rootProject.isolated.path == ":"
            rootProject.isolated.buildTreePath == ':'
    
            child1.isolated.path == ":child1"
            child1.isolated.buildTreePath == ":child1"
    
            child2.isolated.path == ":child1:child2"
            child2.isolated.buildTreePath == ":child1:child2"
    
            nestedRootProject.isolated.path == ":"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

                // Counter is serialized and isolated prior to execution, so transforms will not see the increment in each tasks' doLast { } (which is good)
                file("build/libs1/test-1.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
                file("build/libs1/test2-2.3.jar.txt").readLines() == ["1", "2", "3", "4", "5"]
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

            """
    
            when: "fetching without Isolated Projects"
            def originalIdeaModel = fetchModel(IdeaProject)
    
            then:
            fixture.assertNoConfigurationCache()
            originalIdeaModel.modules.size() == 3
            originalIdeaModel.modules.every { it.children.isEmpty() } // IdeaModules are always flattened
    
            when: "fetching with Isolated Projects"
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/isolation/Isolatable.java

    /**
     * Isolatable objects can return an isolated instance of the given type T from which this object was created.
     * An <b>isolated</b> instance has the same internal state as the original object on which this isolatable was based,
     * but it is guaranteed not to retain any references to mutable state from the original instance.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. 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)
  9. subprojects/core/src/main/java/org/gradle/api/internal/project/IsolatedAntBuilder.java

         * @return a copy of this builder
         */
        IsolatedAntBuilder withClasspath(Iterable<File> classpath);
    
        /**
         * Executes the given closure against an isolated {@link org.gradle.api.AntBuilder} instance. The builder will
         * have visible to it an isolated version of Ant, Groovy and the specified libraries (if any). Each call to this
         * method is given a separate Ant project.
         */
        void execute(Closure antClosure);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 02 18:37:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. 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)
Back to top