Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 102 for javaexec (0.27 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskTimeoutIntegrationTest.groovy

                        new CountDownLatch(1).await(90, TimeUnit.SECONDS);
                    }
                }
            """
            buildFile << """
                apply plugin: 'java'
                task block(type: JavaExec) {
                    classpath = sourceSets.main.output
                    mainClass = 'Block'
                    timeout = Duration.ofMillis($TIMEOUT)
                }
                """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompileAvoidanceIntegrationSpec.groovy

                        processor project(':b')
                    }
                    ${language.compileTaskName}.options.annotationProcessorPath = configurations.processor
                    task run(type: JavaExec) {
                        mainClass = 'TestApp'
                        classpath = sourceSets.main.runtimeClasspath
                    }
                }
            """
    
            def fixture = new HelperProcessorFixture()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/process/internal/JavaExecHandleBuilder.java

            }
    
            return arguments;
        }
    
        private File writePathingJarFile(FileCollection classPath) throws IOException {
            File pathingJarFile = temporaryFileProvider.createTemporaryFile("gradle-javaexec-classpath", ".jar");
            try (FileOutputStream fileOutputStream = new FileOutputStream(pathingJarFile);
                 JarOutputStream jarOutputStream = new JarOutputStream(fileOutputStream, toManifest(classPath))) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 27 09:47:37 UTC 2023
    - 14K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    [[java_exec_properties]]
    ==== Properties deprecated in JavaExec task
    
    * The link:{groovyDslPath}/org.gradle.api.tasks.JavaExec.html#org.gradle.api.tasks.JavaExec:main[main] getters and setters
    in link:{groovyDslPath}/org.gradle.api.tasks.JavaExec.html[JavaExec] task have been deprecated.
    Use the link:{groovyDslPath}/org.gradle.api.tasks.JavaExec.html#org.gradle.api.tasks.JavaExec:mainClass[mainClass] property instead.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/jvm/toolchains.adoc

    * A `JavaLauncher` which is the tool used by the link:{groovyDslPath}/org.gradle.api.tasks.JavaExec.html#org.gradle.api.tasks.JavaExec:javaLauncher[JavaExec] or link:{groovyDslPath}/org.gradle.api.tasks.testing.Test.html#org.gradle.api.tasks.testing.Test:javaLauncher[Test] tasks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 05:37:54 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/provider/ProviderFactory.java

         * pre-configured.
         * @return an interface that allows lazy access to the process' output.
         *
         * @since 7.5
         */
        @Incubating
        ExecOutput javaexec(Action<? super JavaExecSpec> action);
    
        /**
         * Creates a {@link Provider} whose value is obtained from the given {@link ValueSource}.
         *
         * @param valueSourceType the type of the {@link ValueSource}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 09:14:21 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecActionFactory.java

        }
    
        @Override
        public ExecResult javaexec(Action<? super JavaExecSpec> action) {
            JavaExecAction execAction = newDecoratedJavaExecAction();
            action.execute(execAction);
            return execAction.execute();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 10 06:16:11 UTC 2023
    - 24K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinScript.kt

         *
         * @param configuration The block to use to configure the [JavaExecSpec].
         * @return The result of the execution.
         */
        fun javaexec(configuration: Action<JavaExecSpec>): ExecResult
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/incremental_build.adoc

    There are other task types where this kind of nested inputs are available:
    
    * link:{groovyDslPath}/org.gradle.api.tasks.JavaExec.html#org.gradle.api.tasks.JavaExec:argumentProviders[JavaExec.getArgumentProviders()] - model e.g. custom tools
    * link:{groovyDslPath}/org.gradle.api.tasks.JavaExec.html#org.gradle.api.tasks.JavaExec:jvmArgumentProviders[JavaExec.getJvmArgumentProviders()] - used for Jacoco Java agent
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:14:04 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_6.adoc

    Affected is configuration code inside the `application {}` and `java {}` configuration blocks, inside a java execution setup with `project.javaexec {}`, and inside various task configurations
    (`JavaExec`, `CreateStartScripts`, `JavaCompile`, `Test`, `Javadoc`).
    
    ==== Updates to bundled Gradle dependencies
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top