Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for requireDaemon (0.21 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/StdioIntegrationTest.groovy

    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.util.internal.TextUtil
    
    class StdioIntegrationTest extends AbstractIntegrationSpec {
        def setup() {
            executer.requireDaemon()
            // This isn't actually required - the test is fine with shared daemons
            // In fact, it would be much better to test this feature using shared daemons
            executer.requireIsolatedDaemons()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/PropertyUpgradesBinaryCompatibilityCrossVersionSpec.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/JavaExecJavaVersionIntegrationSpec.groovy

    class JavaExecJavaVersionIntegrationSpec extends AbstractIntegrationSpec {
    
        def setup() {
            // Without this, executing the JavaExec tasks leave behind running daemons.
            executer.requireDaemon().requireIsolatedDaemons()
        }
    
        @Requires([IntegTestPreconditions.LowestSupportedLTSJavaHomeAvailable, IntegTestPreconditions.HighestSupportedLTSJavaHomeAvailable ])
        def "up-to-date when executing twice in a row"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 24 21:27:49 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/integtests/GroovyToJavaConversionIntegrationTest.groovy

    class GroovyToJavaConversionIntegrationTest extends AbstractIntegrationSpec {
    
        def "For every boolean is getter there is a get Getter"() {
            given:
            executer.requireDaemon().requireIsolatedDaemons() // We need to fork - if we do not fork Class-Decoration does not happen
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/BuildOperationsFileSystemWatchingIntegrationTest.groovy

                    }
                }
            """
    
            inputFile.text = "input"
            executer.beforeExecute {
                inDirectory(projectDir)
            }
            executer.requireDaemon()
        }
    
        def "emits build operations when watching is enabled"() {
            when:
            withWatchFs().run "myTask"
            then:
            executedAndNotSkipped(":myTask")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/PluginBinaryCompatibilityCrossVersionSpec.groovy

    }
    
    apply plugin: SomePlugin
    """
    
            expect:
            version previous withTasks 'assemble' inDirectory(file("producer")) run()
            version current withTasks 'tasks' requireDaemon() requireIsolatedDaemons() run()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/TaskTransitiveSubclassingBinaryCompatibilityCrossVersionSpec.groovy

                    }
                }
            """
    
            expect:
            version previous withTasks 'publish' inDirectory(file("plugin")) run()
            version current requireDaemon() requireIsolatedDaemons() withTasks 'sofExec' run()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 04:11:37 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-groovy/src/crossVersionTest/groovy/org/gradle/integtests/StaticGroovyTaskSubclassingBinaryCompatibilityCrossVersionSpec.groovy

                }
    
                task task(type: SubclassTask)
            """
    
            then:
            version previous withTasks 'assemble' inDirectory(file("producer")) run()
            version current requireDaemon() requireIsolatedDaemons() withTasks 'task' run()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 12:37:02 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractProjectRelocationIntegrationTest.groovy

            setupProjectIn(relocatedDir)
    
            //We'll delete the relocated Java home of this daemon, which will make it unusable for future builds
            executer.requireDaemon().requireIsolatedDaemons()
    
            when: "task is built in the original location"
            inDirectory(originalDir)
            executer.withJavaHome(originalJavaHome)
            withBuildCache().run taskName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaIncrementalCompilationWithCachingIntegrationTest.groovy

            then:
            outputs.recompiledClasses("A")
        }
    
        def "classpath analysis is restored from the build cache"() {
            requireOwnGradleUserHomeDir().requireDaemon().requireIsolatedDaemons()
            buildFile << "dependencies { implementation 'org.apache.commons:commons-lang3:3.8' }\n"
            source("class A {}")
            withBuildCache().run language.compileTaskName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top