Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for useDaemon (0.18 sec)

  1. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/exec/DefaultBuildActionParameters.java

        private final boolean useDaemon;
        private final ClassPath injectedPluginClasspath;
    
        public DefaultBuildActionParameters(Map<?, ?> systemProperties, Map<String, String> envVariables, File currentDir, LogLevel logLevel, boolean useDaemon, ClassPath injectedPluginClasspath) {
            this.currentDir = currentDir;
            this.logLevel = logLevel;
            this.useDaemon = useDaemon;
            assert systemProperties != null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/GradleInvocationSpec.groovy

            this.tasksToRun = tasksToRun
            this.args = args
            this.clientJvmArguments = clientJvmArguments
            this.jvmArguments = jvmArguments
            this.cleanTasks = cleanTasks
            this.useDaemon = useDaemon
            this.useToolingApi = useToolingApi
            this.expectFailure = expectFailure
            this.buildAction = buildAction
            this.buildLog = buildLog
            this.useAndroidStudio = useAndroidStudio
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingJavaPerformanceTest.groovy

            runner.minimumBaseVersion = "3.5"
        }
    
        def "clean assemble with remote http cache"() {
            setupTestProject(runner)
            protocol = "http"
            pushToRemote = true
            runner.useDaemon = false
            runner.warmUpRuns = 2
            runner.runs = 8
            runner.addBuildMutator { cleanLocalCache() }
    
            when:
            def result = runner.run()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaFirstUsePerformanceTest.groovy

        def "first use"() {
            given:
            runner.tasksToRun = ['tasks']
            runner.runs = (runner.testProject == (LARGE_JAVA_MULTI_PROJECT_KOTLIN_DSL.projectName) ? 5 : 10)
            runner.useDaemon = false
            runner.addBuildMutator { invocationSettings ->
                new ClearGradleUserHomeMutator(invocationSettings.gradleUserHome, AbstractCleanupMutator.CleanupSchedule.BUILD)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/declarativedsl/DeclarativeDslFirstUsePerformanceTest.groovy

            given:
            runner.tasksToRun = ['tasks']
            runner.warmUpRuns = WARMUP_RUNS
            runner.runs = MEASUREMENT_RUNS
            runner.minimumBaseVersion = MINIMUM_BASE_VERSION
            runner.useDaemon = false
            runner.addBuildMutator { invocationSettings ->
                new ClearGradleUserHomeMutator(invocationSettings.gradleUserHome, AbstractCleanupMutator.CleanupSchedule.BUILD)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:12 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestRunner.groovy

                    jvmArgs(gradleOptsInUse as String[])
                    useDaemon(this.useDaemon)
                    useToolingApi(this.useToolingApi)
                    useAndroidStudio(this.useAndroidStudio)
                    studioJvmArgs(this.studioJvmArgs)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/DaemonCommandLineConverterTest.groovy

        def "converts daemon options - #options"() {
            when:
            def converted = convert(options)
    
            then:
            converted.enabled == useDaemon
    
            where:
            options                         | useDaemon
            []                              | true
            ['--no-daemon']                 | false
            ['--foreground', '--no-daemon'] | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PerformanceTestJvmOptions.groovy

                jvmOptions << '-XX:MaxPermSize=256m'
            }
    
            return jvmOptions
        }
    
        static List<String> normalizeGradleJvmOptions(boolean useDaemon, List<String> originalJvmOptions) {
            if (!useDaemon && JavaVersion.current().isJava9Compatible()) {
                List<String> jvmOptions = new ArrayList<>(originalJvmOptions)
                jvmOptions.addAll(JpmsConfiguration.GRADLE_DAEMON_JPMS_ARGS)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:59:28 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationCachePerformanceTest.groovy

            // use the deprecated property so it works with previous versions
            runner.args = ["-D${ConfigurationCacheOption.DEPRECATED_PROPERTY_NAME}=true"]
    
            and:
            runner.useDaemon = daemon == hot
            runner.addBuildMutator { configurationCacheInvocationListenerFor(it, action, stateDirectory) }
            runner.warmUpRuns = daemon == hot ? 20 : 1
            runner.runs = daemon == hot ? 60 : 25
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/AbstractCrossBuildPerformanceTestRunner.groovy

        protected void finalizeGradleSpec(GradleBuildExperimentSpec.GradleBuilder builder) {
            def invocation = builder.invocation
            invocation.jvmArguments = PerformanceTestJvmOptions.normalizeGradleJvmOptions(invocation.useDaemon, customizeJvmOptions(invocation.jvmArguments))
        }
    
        protected static List<String> customizeJvmOptions(List<String> jvmOptions) {
            PerformanceTestJvmOptions.normalizeJvmOptions(jvmOptions)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top