- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 51 for JavaForkOptions (0.19 sec)
-
platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/DaemonGroovyCompilerIntegrationTest.groovy
new File(it.forkOptions.javaForkOptions.executable).canonicalPath == Jvm.current().javaExecutable.canonicalPath && it.forkOptions.javaForkOptions.minHeapSize == "128m" && it.forkOptions.javaForkOptions.maxHeapSize == "256m" && it.forkOptions.javaForkOptions.systemProperties['foo'] == "bar" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DaemonForkOptionsTest.groovy
def javaForkOptions = TestFiles.execFactory().newJavaForkOptions() javaForkOptions.workingDir = systemSpecificAbsolutePath("foo") javaForkOptions.minHeapSize = "128m" javaForkOptions.maxHeapSize = "1g" javaForkOptions.jvmArgs = ["-server", "-verbose:gc"] def settings1 = daemonForkOptionsBuilder(javaForkOptions) .build()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 7.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/JavaForkOptionsInternal.java
*/ package org.gradle.process.internal; import org.gradle.process.JavaForkOptions; public interface JavaForkOptionsInternal extends JavaForkOptions { /** * Returns true if the given options are compatible with this set of options. */ boolean isCompatibleWith(JavaForkOptions options); /** * Sets extra JVM arguments to a Java process without checking debug configuration.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 10 06:16:11 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy
} private WorkerDaemonClient reserveIdleClient(DaemonForkOptions forkOptions) { return clientsManager.reserveIdleClient(forkOptions) } private JavaForkOptions javaForkOptions(String minHeap, String maxHeap, List<String> jvmArgs) { def options = TestFiles.execFactory().newJavaForkOptions() options.workingDir = systemSpecificAbsolutePath("foo")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:56:11 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy
new File(it.forkOptions.javaForkOptions.executable).canonicalPath == Jvm.current().javaExecutable.canonicalPath && it.forkOptions.javaForkOptions.minHeapSize == "128m" && it.forkOptions.javaForkOptions.maxHeapSize == "256m" && it.forkOptions.javaForkOptions.systemProperties['foo'] == "bar" } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:20:39 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/DaemonForkOptionsBuilder.java
this.keepAliveMode = keepAliveMode; return this; } public DaemonForkOptionsBuilder javaForkOptions(JavaForkOptions javaForkOptions) { javaForkOptions.copyTo(this.javaForkOptions); return this; } public DaemonForkOptionsBuilder withClassLoaderStructure(ClassLoaderStructure classLoaderStructure) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/AbstractCodeQualityTask.java
import org.gradle.jvm.toolchain.JavaLauncher; import org.gradle.jvm.toolchain.JavaToolchainService; import org.gradle.jvm.toolchain.internal.CurrentJvmToolchainSpec; import org.gradle.process.JavaForkOptions; import org.gradle.work.DisableCachingByDefault; import org.gradle.workers.WorkerExecutor; import javax.inject.Inject; /** * Base class for code quality tasks. * * @since 8.4 */ @Incubating
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 18:07:00 UTC 2024 - 4K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/daemon/DaemonGroovyCompiler.java
} JavaForkOptions javaForkOptions = new BaseForkOptionsConverter(forkOptionsFactory).transform(mergeForkOptions(javaOptions, groovyOptions)); javaForkOptions.setWorkingDir(daemonWorkingDir); javaForkOptions.setExecutable(javaOptions.getExecutable()); if (jvmVersionDetector.getJavaVersionMajor(javaForkOptions.getExecutable()) >= 9) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 9.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/JvmOptionsTest.groovy
expect: createOpts().allJvmArgs.contains("-Dfile.encoding=${defaultCharset}".toString()); } def "copyTo respects defaultFileEncoding"() { JavaForkOptions target = Mock(JavaForkOptions) when: parse("-Dfile.encoding=UTF-8 -Dfoo.encoding=blah -Dfile.encoding=UTF-16").copyTo(target) then: 1 * target.systemProperties({
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 10.8K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DefaultWorkerExecutorTest.groovy
then: daemonForkOptions.javaForkOptions.minHeapSize == "128m" daemonForkOptions.javaForkOptions.maxHeapSize == "128m" daemonForkOptions.javaForkOptions.allJvmArgs.contains("-Dfoo=bar") daemonForkOptions.javaForkOptions.allJvmArgs.contains("-foo") daemonForkOptions.javaForkOptions.allJvmArgs.contains("-Xbootclasspath:${temporaryFolder.file('foo')}".toString())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 11 15:27:52 UTC 2024 - 8.3K bytes - Viewed (0)