Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for withChild (0.11 sec)

  1. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DaemonForkOptionsTest.groovy

                    .withClassLoaderStructure(new HierarchicalClassLoaderStructure(spec1).withChild(spec2).withChild(spec3))
                    .build()
            def settings2 = daemonForkOptionsBuilder()
                    .withClassLoaderStructure(new HierarchicalClassLoaderStructure(spec1).withChild(spec2).withChild(spec4))
                    .build()
    
            expect:
            !settings1.isCompatibleWith(settings2)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/ClassLoaderStructureProvider.java

            // Add the Gradle API filter between the user classloader and the worker infrastructure classloader
            return new HierarchicalClassLoaderStructure(workerExtensionSpec)
                    .withChild(gradleApiFilter)
                    .withChild(userSpec);
        }
    
        public ClassLoaderStructure getInProcessClassLoaderStructure(final Iterable<File> additionalClasspath, Class<?>... classes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/daemon/DaemonGroovyCompiler.java

                new HierarchicalClassLoaderStructure(classLoaderRegistry.getGradleWorkerExtensionSpec())
                    .withChild(getMinimalGradleFilter())
                    .withChild(targetGroovyClasspath)
                    .withChild(gradleAndUserFilter)
                    .withChild(compilerClasspath);
    
            return new DaemonForkOptionsBuilder(forkOptionsFactory)
                .javaForkOptions(javaForkOptions)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/DaemonScalaCompiler.java

            HierarchicalClassLoaderStructure classLoaderStructure = new HierarchicalClassLoaderStructure(classLoaderRegistry.getGradleWorkerExtensionSpec())
                    .withChild(getScalaFilterSpec())
                    .withChild(new VisitableURLClassLoader.Spec("compiler", compilerClasspath.getAsURLs()));
    
            return new DaemonForkOptionsBuilder(forkOptionsFactory)
                .javaForkOptions(javaForkOptions)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/HierarchicalClassLoaderStructure.java

            this.self = self;
            this.parent = parent;
        }
    
        public HierarchicalClassLoaderStructure withChild(ClassLoaderSpec spec) {
            HierarchicalClassLoaderStructure childNode = new HierarchicalClassLoaderStructure(spec, this);
            return childNode;
        }
    
        @Override
        public ClassLoaderSpec getSpec() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/HierarchicalClassLoaderStructureSerializerTest.groovy

        def "can serialize and deserialize a classloader structure"() {
            def classLoaderStructure = new HierarchicalClassLoaderStructure(filteringClassloaderSpec())
                    .withChild(visitableUrlClassloaderSpec())
    
            when:
            serializer.write(encoder, classLoaderStructure)
            encoder.flush()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/TransportableActionExecutionSpecSerializerTest.groovy

            return new VisitableURLClassLoader.Spec("test", urls)
        }
    
        def classLoaderStructure() {
            return new HierarchicalClassLoaderStructure(filteringClassloaderSpec())
                    .withChild(visitableUrlClassloaderSpec())
        }
    
        def flatClassLoaderStructure() {
            return new FlatClassLoaderStructure(visitableUrlClassloaderSpec())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/DisabledTaskExecutionOnIncludedBuildsCrossVersionSpec.groovy

            def includedSelector = invocations[0].taskSelectors[0]
    
            when:
            withBuild { BuildLauncher launcher ->
                launcher.forLaunchables(includedSelector)
            }
    
            then:
            thrown(BuildException)
    
            when:
            withBuild { BuildLauncher launcher ->
                launcher.forLaunchables(includedTask)
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r66/CommandLineOptionsCrossVersionSpec.groovy

            when:
            file("gradle.properties") << "org.gradle.workers.max=12"
            def result = withBuild()
    
            then:
            result.standardOutput.contains("max workers: 12")
        }
    
        def "can specify options using command-line arguments"() {
            when:
            def result = withBuild { BuildLauncher launcher ->
                launcher.withArguments("--max-workers", "12")
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/BuildInvocationsCrossVersionSpec.groovy

            TaskSelector selectorT2 = model.taskSelectors.find { it.name == 't2' }
            def result = withBuild { BuildLauncher it ->
                it.forLaunchables(selectorT1, selectorT2)
            }
            then:
            result.result.assertTasksExecutedInOrder(':t1', ':b:c:t1', ':b:t2', ':b:c:t2')
    
            when:
            result = withBuild { BuildLauncher it ->
                it.forLaunchables(selectorT2, selectorT1)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top