Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for doGreeting (0.12 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/MixedObjectiveCHelloWorldApp.groovy

        SourceFile getMainSource() {
            return sourceFile("objc", "main.m", """
                // Simple hello world app
                #import "hello.h"
    
                int main (int argc, const char * argv[]) {
                    doGreeting();
                    printf("%d", sum(7, 5));
                    return 0;
                }
    
            """)
        }
    
        @Override
        SourceFile getLibraryHeader() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java/application/groovy/build.gradle

        mainClass = 'org.gradle.sample.Main'
    }
    // end::mainModule-conf[]
    
    // tag::application-defaultjvmargs[]
    application {
        applicationDefaultJvmArgs = ['-Dgreeting.language=en']
    }
    // end::application-defaultjvmargs[]
    
    // tag::executableDir-conf[]
    application {
        executableDir = 'custom_bin_dir'
    }
    // end::executableDir-conf[]
    
    // tag::distribution-spec[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/java/application/kotlin/build.gradle.kts

        mainClass = "org.gradle.sample.Main"
    }
    // end::mainModule-conf[]
    
    // tag::application-defaultjvmargs[]
    application {
        applicationDefaultJvmArgs = listOf("-Dgreeting.language=en")
    }
    // end::application-defaultjvmargs[]
    
    // tag::executableDir-conf[]
    application {
        executableDir = "custom_bin_dir"
    }
    // end::executableDir-conf[]
    
    // tag::distribution-spec[]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

                applicationDefaultJvmArgs = ["-Dgreeting.language=en", "-DappId=\${project.name - ':'}"]
            }
            """
    
            when:
            succeeds('startScripts')
    
            then:
            assertGeneratedUnixStartScript('myApp').text.contains '-Dgreeting.language=en'
            assertGeneratedWindowsStartScript('myApp').text.contains '-Dgreeting.language=en'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

                inDirectory('root')
                switch (systemPropertySource) {
                    case SystemPropertySource.COMMAND_LINE:
                        return configurationCacheRun('greet', "-Dgreeting=$greeting")
                    case SystemPropertySource.GRADLE_PROPERTIES:
                        file('root/gradle.properties').text = "systemProp.greeting=$greeting"
                        return configurationCacheRun('greet')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    [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