Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for isIsolated (0.28 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-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            expect:
            def original = 123
            def isolated = isolatableFactory.isolate(original)
            isolated.coerce(Integer).is(original)
            isolated.coerce(Number).is(original)
            isolated.coerce(Long) == null
            isolated.coerce(Short) == null
            isolated.coerce(Byte) == null
            isolated.coerce(String) == null
        }
    
        def "creates isolated long"() {
            expect:
            def original = 123L
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultValueSnapshotterTest.groovy

            snapshot != snapshotter.snapshot("other")
        }
    
        def "creates snapshot for isolated string"() {
            expect:
            def isolated = isolatableFactory.isolate("abc")
            snapshotter.snapshot("abc") == snapshotter.snapshot(isolated)
            snapshotter.snapshot("other") != snapshotter.snapshot(isolated)
        }
    
        def "creates snapshot for integer"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformingAsyncArtifactListener.java

                // The parameters of the transforms should already be isolated prior to visiting this set.
                // However, in certain cases, the transform's parameters may not be isolated (eg https://github.com/gradle/gradle/issues/23116), so do this now
                // Those cases should be improved so that the parameters are always isolated, for example by always using work nodes to do this work
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top