Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 102 for javaexec (0.29 sec)

  1. subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecActionFactoryTest.groovy

                .withObjectFactory(TestUtil.objectFactory())
                .build()
    
        def javaexec() {
            File testFile = tmpDir.file("someFile")
            List files = ClasspathUtil.getClasspath(getClass().classLoader).asFiles
    
            when:
            ExecResult result = factory.javaexec { spec ->
                spec.classpath(files as Object[])
                spec.mainClass = SomeMain.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 15 17:11:21 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/JavaExecTest.groovy

        def 'Jvm arguments are empty by default'() {
            when:
            def task = project.tasks.create("run", JavaExec)
    
            then:
            task.jvmArgs != null
            task.jvmArgs.isEmpty()
        }
    
        def 'fails if custom executable does not exist'() {
            def task = project.tasks.create("run", JavaExec)
            def invalidExecutable = temporaryFolder.file("invalid")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. testing/architecture-test/src/changes/archunit-store/provider-task-properties.txt

    Method <org.gradle.api.tasks.JavaExec.getCommandLine()> does not have raw return type assignable to org.gradle.api.provider.Provider in (JavaExec.java:0)
    Method <org.gradle.api.tasks.JavaExec.getDebug()> does not have raw return type assignable to org.gradle.api.provider.Property in (JavaExec.java:0)
    Method <org.gradle.api.tasks.JavaExec.getDebugOptions()> does not have raw return type assignable to org.gradle.api.provider.Provider in (JavaExec.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:33:20 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInInitScriptIntegrationTest.groovy

            exec().groovy               | "exec.init.gradle"
            javaexec().groovy           | "exec.init.gradle"
            processBuilder().groovy     | "exec.init.gradle"
            stringArrayExecute().groovy | "exec.init.gradle"
            runtimeExec().groovy        | "exec.init.gradle"
            exec().kotlin               | "exec.init.gradle.kts"
            javaexec().kotlin           | "exec.init.gradle.kts"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/test/groovy/org/gradle/testing/jacoco/plugins/JacocoPluginSpec.groovy

    class JacocoPluginSpec extends AbstractProjectBuilderSpec {
        def setup() {
            project.apply plugin: 'jacoco'
        }
    
        def 'jacoco applied to specific JavaExec task'() {
            given:
            JavaExec task = project.tasks.create('exec', JavaExec)
            when:
            project.jacoco.applyTo(task)
            then:
            task.extensions.getByType(JacocoTaskExtension) != null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInTransformIntegrationTest.groovy

    import org.gradle.process.ExecOperations
    
    import javax.inject.Inject
    
    import static org.gradle.internal.cc.impl.fixtures.ExternalProcessFixture.exec
    import static org.gradle.internal.cc.impl.fixtures.ExternalProcessFixture.javaexec
    import static org.gradle.internal.cc.impl.fixtures.ExternalProcessFixture.processBuilder
    
    class ProcessInTransformIntegrationTest extends AbstractProcessIntegrationTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy

                ''')
            }
                execInjectedTaskAction.execClasspath.from(project.sourceSets['main'].runtimeClasspath)
    
                // JavaExec
    
                task javaexecTask(type: JavaExec) {
                    def testFile = file("${'$'}buildDir/${'$'}name")
                    classpath(sourceSets.main.output.classesDirs)
                    mainClass = 'org.gradle.TestMain'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/jvm/application_plugin.adoc

    by executing the `run` task (type: link:{javadocPath}/org/gradle/api/tasks/JavaExec.html[JavaExec]). This will compile the main source set, and launch a new JVM with its classes (along with all runtime dependencies) as the classpath and using the specified main class. You can launch the application in debug mode with `gradle run --debug-jvm` (see link:{javadocPath}/org/gradle/api/tasks/JavaExec.html#setDebug-boolean-[JavaExec.setDebug(boolean)]).
    
    Since Gradle 4.9, the command line arguments...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecOperations.java

        @Override
        public ExecResult exec(Action<? super ExecSpec> action) {
            return processOperations.exec(action);
        }
    
        @Override
        public ExecResult javaexec(Action<? super JavaExecSpec> action) {
            return processOperations.javaexec(action);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 06 09:57:41 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInPluginBuildScriptIntegrationTest.groovy

            javaexec().groovy           | "included/settings.gradle"
            processBuilder().groovy     | "included/settings.gradle"
            stringArrayExecute().groovy | "included/settings.gradle"
            runtimeExec().groovy        | "included/settings.gradle"
            exec().kotlin               | "included/settings.gradle.kts"
            javaexec().kotlin           | "included/settings.gradle.kts"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top