Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java

            return fileNormalizer;
        }
    
        @Override
        public FileNormalizer getInputArtifactDependenciesNormalizer() {
            return dependenciesNormalizer;
        }
    
        @Override
        public boolean isIsolated() {
            return isolatedParameters.isFinalized();
        }
    
        @Override
        public boolean requiresDependencies() {
            return requiresDependencies;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

            List<String> list = ["foo", "bar"]
    
            when:
            serialize(isolatableFactory.isolate(list))
    
            and:
            Isolatable<?>[] newIsolatables = deserialize()
    
            then:
            newIsolatables[0].isolate() == list
        }
    
        def "can serialize/deserialize isolated Set"() {
            Set<String> list = ["foo", "bar"]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top