- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for withBuildJvmOpts (0.23 sec)
-
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonSystemPropertiesIntegrationTest.groovy
assert System.getProperty("java.vendor") != null assert System.getProperty("sun.sunny") == null } } """ expect: executer.withBuildJvmOpts("-Djava.vendor=hollywood", "-Dsun.sunny=california").withTasks("verify").run() } def "other client JVM system properties are carried over to daemon JVM"() { given: file("build.gradle") << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/software/publish/src/integTest/groovy/org/gradle/api/tasks/UploadTaskIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 22:15:44 UTC 2024 - 2.2K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/launcher/daemon/DaemonPerformanceMonitoringSoakTest.groovy
def dataFile = file("stats") int newDaemons = 0 try { for (int i = 0; i < maxBuilds; i++) { executer.noExtraLogging() executer.withBuildJvmOpts("-Xms128m", "-XX:MaxMetaspaceSize=${heapSize}", "-Xmx${heapSize}", "-Dorg.gradle.daemon.performance.logging=true") GradleHandle gradle = executer.start() gradle.waitForExit()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsConcurrencyIntegrationTest.groovy
} handles.each { handle -> handle.waitForFinish() } } private void parallelBuildSucceeds(String... taskNames) { executer.withBuildJvmOpts('-Xmx1024m') args('--parallel') succeeds taskNames } static String createProjectName(int projectNo) { "project$projectNo" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/integtests/samples/SamplesMixedJavaAndScalaIntegrationTest.groovy
return } else if (!GradleContextualExecuter.isEmbedded() && !GradleContextualExecuter.isParallel() && !JavaVersion.current().isJava8Compatible()) { executer.withBuildJvmOpts('-XX:MaxPermSize=128m') } TestFile projectDir = sample.dir.file('groovy') executer.inDirectory(projectDir).withTasks('clean', 'javadoc', 'scaladoc').run()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r22/ClientShutdownCrossVersionSpec.groovy
} private GradleExecuter daemonExecutor() { targetDist.executer(temporaryFolder, getBuildContext()) .withDaemonBaseDir(toolingApi.daemonBaseDir) .withBuildJvmOpts(buildJvmArguments) .useOnlyRequestedJvmOpts() .requireDaemon() } private List<String> getBuildJvmArguments() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginTasksIntegrationTest.kt
) val downstreamKotlinCompileTask = ":compileKotlin" // TODO: the Kotlin compile tasks check for cacheability using Task.getProject executer.beforeExecute { it.withBuildJvmOpts("-Dorg.gradle.configuration-cache.internal.task-execution-access-pre-stable=true") } build(firstDir, "classes", "--build-cache").apply { cachedTasks.forEach { assertTaskExecuted(it) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 21 10:30:22 UTC 2024 - 8.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy
@Issue("GRADLE-3573") def "jansi library is unpacked to gradle user home dir and isn't overwritten if existing"() { String tmpDirJvmOpt = "-Djava.io.tmpdir=$tmpDir.testDirectory.absolutePath" executer.withBuildJvmOpts(tmpDirJvmOpt) when: succeeds("help") then: library.exists() assertNoFilesInTmp() long lastModified = library.lastModified() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 05:18:22 UTC 2024 - 10.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 55.1K bytes - Viewed (0) -
platforms/software/reporting/src/integTest/groovy/org/gradle/api/reporting/plugins/BuildDashboardPluginIntegrationTest.groovy
goodCode() buildFile << """ buildDashboard { reports.html.required = false } """ when: executer.withBuildJvmOpts("-Dorg.gradle.configuration-cache.internal.task-execution-access-pre-stable=true") run('buildDashboard') then: !buildDashboardFile.exists() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 11.7K bytes - Viewed (0)