Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addJvmArguments (0.16 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiBackedGradleExecuter.groovy

            def args = allArgs
            args.remove("--no-daemon")
    
            usingToolingConnection(workingDir) { connection ->
                connection.newBuild()
                    .withArguments(args)
                    .addJvmArguments(jvmArgs)
                    .setStandardOutput(new TeeOutputStream(output, System.out))
                    .setStandardError(new TeeOutputStream(error, System.err))
                    .run()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy

        }
    
        def "JVM arguments have precedence over system properties"() {
            when:
            runTask {
                withSystemProperties('customKey' : 'syspropValue')
                addJvmArguments('-DcustomKey=jvmargValue')
            }
    
            then:
            hasSystemProperty('customKey', 'jvmargValue')
        }
    
        def "Cannot modify immutable system properties"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

                def args = executer.allArgs
                args.remove("--no-daemon")
    
                connection.newTestLauncher()
                    .withJvmTestClasses(testClasses)
                    .addJvmArguments(executer.jvmArgs)
                    .withArguments(args)
                    .setStandardOutput(new TeeOutputStream(output, System.out))
                    .setStandardError(new TeeOutputStream(error, System.err))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top