Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for isIsolated (0.29 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top