Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for getForkOptions (0.21 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/AbstractJavaCompileSpecFactory.java

        private T chooseSpecFromCompileOptions(File fallbackJavaHome) {
            File forkJavaHome = compileOptions.getForkOptions().getJavaHome();
            if (forkJavaHome != null) {
                return getCommandLineSpec(Jvm.forHome(forkJavaHome).getJavacExecutable());
            }
    
            String forkExecutable = compileOptions.getForkOptions().getExecutable();
            if (forkExecutable != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/test/TestTaskProperties.java

    public interface TestTaskProperties {
    
        boolean isUsingJUnitPlatform();
    
        long getForkEvery();
    
        boolean isDryRun();
    
        TestTaskFilters getFilters();
    
        TestTaskForkOptions getForkOptions();
    
        Stream<CandidateClassFile> getCandidateClassFiles();
    
        Stream<InputFileProperty> getInputFileProperties();
    
        Stream<OutputFileProperty> getOutputFileProperties();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/ForkedWorkerRequirement.java

            super(workerDirectory, projectCacheDir, forkOptions.getClassLoaderStructure());
            this.forkOptions = forkOptions;
        }
    
        public DaemonForkOptions getForkOptions() {
            return forkOptions;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:50 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/MinimalScalaCompileOptions.java

            this.loggingPhases = compileOptions.getLoggingPhases() == null ? null : ImmutableList.copyOf(compileOptions.getLoggingPhases());
            this.forkOptions = new MinimalScalaCompilerDaemonForkOptions(compileOptions.getForkOptions());
            this.incrementalOptions = compileOptions.getIncrementalOptions();
            this.keepAliveMode = compileOptions.getKeepAliveMode().get();
        }
    
        public boolean isFailOnError() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/CompilerForkUtils.java

            outputs.doNotCacheIf(
                "Forking compiler via ForkOptions.executable",
                spec(element -> compileOptions.isFork() && compileOptions.getForkOptions().getExecutable() != null)
            );
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/MinimalGroovyCompileOptions.java

            this.keepStubs = compileOptions.isKeepStubs();
            this.fileExtensions = ImmutableList.copyOf(compileOptions.getFileExtensions());
            this.forkOptions = new MinimalGroovyCompilerDaemonForkOptions(compileOptions.getForkOptions());
            this.optimizationOptions = Maps.newHashMap(compileOptions.getOptimizationOptions());
            this.stubDir = compileOptions.getStubDir();
            this.configurationScript = compileOptions.getConfigurationScript();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/DefaultWorkerExecutor.java

            File defaultWorkingDir = spec.getForkOptions().getWorkingDir();
            File workingDirectory = workerDirectoryProvider.getWorkingDirectory();
            action.execute(spec);
    
            if (!defaultWorkingDir.equals(spec.getForkOptions().getWorkingDir())) {
                throw new IllegalArgumentException("Setting the working directory of a worker is not supported.");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:17:07 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/main/java/org/gradle/workers/ForkingWorkerSpec.java

        /**
         * Returns the {@link JavaForkOptions} object associated with this builder.
         *
         * @return the {@link JavaForkOptions} of this builder
         */
        JavaForkOptions getForkOptions();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/ValidatePlugins.java

        @TaskAction
        public void validateTaskClasses() throws IOException {
            getWorkerExecutor()
                .processIsolation(spec -> {
                    if (getLauncher().isPresent()) {
                        spec.getForkOptions().setExecutable(getLauncher().get().getExecutablePath());
                    } else {
                        DeprecationLogger.deprecateBehaviour("Using task ValidatePlugins without applying the Java Toolchain plugin.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/MinimalJavaCompileOptions.java

            this.bootClasspath = getAsPath(compileOptions.getBootstrapClasspath());
            this.extensionDirs = compileOptions.getExtensionDirs();
            this.forkOptions = new MinimalJavaCompilerDaemonForkOptions(compileOptions.getForkOptions());
            this.debugOptions = compileOptions.getDebugOptions();
            this.debug = compileOptions.isDebug();
            this.deprecation = compileOptions.isDeprecation();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top