Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for applicationDefaultJvmArgs (0.38 sec)

  1. platforms/jvm/plugins-application/src/main/java/org/gradle/api/plugins/JavaApplication.java

        Iterable<String> getApplicationDefaultJvmArgs();
    
        /**
         * Array of string arguments to pass to the JVM when running the application
         */
        void setApplicationDefaultJvmArgs(Iterable<String> applicationDefaultJvmArgs);
    
        /**
         * Directory to place executables in
         */
        String getExecutableDir();
    
        /**
         * Directory to place executables in
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/SpringBootPluginSmokeTest.groovy

                    id "io.spring.dependency-management" version "${TestedVersions.springDependencyManagement}"
                }
    
                ${mavenCentralRepository()}
    
                application {
                    applicationDefaultJvmArgs = ['-DFOO=42']
                }
    
                dependencies {
                    implementation 'org.springframework.boot:spring-boot-starter'
                }
    
                testing.suites.test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginUnixShellsIntegrationTest.groovy

            buildFile << """
    application {
        mainModule.set('main.test')
    }
    """
        }
    
        private void extendBuildFileWithAppHomeProperty() {
            buildFile << """
    application.applicationDefaultJvmArgs = ["-DappHomeSystemProp=REPLACE_THIS_WITH_APP_HOME"]
    
    startScripts {
        doLast {
            unixScript.text = unixScript.text.replace("REPLACE_THIS_WITH_APP_HOME", "'\\\$APP_HOME'")
        }
    }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/plugin/devel/variants/TargetJVMVersionOnPluginTooNewFailureDescriberIntegrationTest.groovy

                }
    
                ${mavenCentralRepository()}
    
                application {
                    applicationDefaultJvmArgs = ['-DFOO=42']
                }
    
                dependencies {
                    implementation 'org.springframework.boot:spring-boot-starter'
                }
    
                testing.suites.test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 20:48:53 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/jvm/application_plugin.adoc

    If your application requires a specific set of JVM settings or system properties, you can configure the `applicationDefaultJvmArgs` property. These JVM arguments are applied to the `run` task and also considered in the generated start scripts of your distribution.
    
    .Configure default JVM settings
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    .build.gradle.kts
    [source,kotlin]
    ----
    plugins {
        application
    }
    
    applicationDefaultJvmArgs = listOf("-Dgreeting.language=en") // Accessing a convention
    ----
    =====
    [.multi-language-sample]
    =====
    .build.gradle
    [source,groovy]
    ----
    plugins {
        id 'application'
    }
    
    applicationDefaultJvmArgs = ['-Dgreeting.language=en'] // Accessing a convention
    ----
    =====
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
Back to top