Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 228 for greetings (0.22 sec)

  1. platforms/documentation/docs/src/snippets/java/application/kotlin/src/main/java/org/gradle/sample/Main.java

    package org.gradle.sample;
    
    public class Main {
        public static void main(String[] args) {
            if (System.getProperty("greeting.language").equals("en")) {
                System.out.println("Greetings from the sample application.");
            } else {
                System.out.println("Bonjour, monde!");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 321 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/plugins/greeting/kotlin/app/build.gradle.kts

    // tag::use-plugin[]
    plugins {
        application
        id("greetings")
    }
    // end::use-plugin[]
    
    greeting {
        message = "Hello from Gradle"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 17:10:51 UTC 2024
    - 138 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/plugins/greeting/groovy/app/build.gradle

    // tag::use-plugin[]
    plugins {
        id 'application'
        id('greetings')
    }
    // end::use-plugin[]
    
    configure(greeting) {
        message = "Hello from Gradle"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 17:10:51 UTC 2024
    - 154 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/java/application/groovy/src/main/java/org/gradle/sample/Main.java

    package org.gradle.sample;
    
    public class Main {
        public static void main(String[] args) {
            if (System.getProperty("greeting.language").equals("en")) {
                System.out.println("Greetings from the sample application.");
            } else {
                System.out.println("Bonjour, monde!");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 321 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tasks/customTaskWithProperty/tests/customTaskWithProperty.out

    hello from GreetingTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 51 bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy

            given:
            executer.requireOwnGradleUserHomeDir()
    
            and:
            executer.gradleUserHomeDir.file('init.gradle') << 'println "greetings from user home"'
    
            when:
            run()
    
            then:
            output.contains("greetings from user home")
        }
    
        def "executes init scripts from init.d directory in user home dir in alphabetical order"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesApplicationIntegrationTest.groovy

        }
    
        def "can run the application using run task with #dsl dsl"() {
            when:
            executer.inDirectory(sample.dir.file(dsl))
            succeeds('run')
    
            then:
            outputContains('Greetings from the sample application.')
    
            where:
            dsl << ['groovy', 'kotlin']
        }
    
        def "can build and run the installed application with #dsl dsl"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/LibraryApiDependenciesIntegrationTest.groovy

            app.greetingsSources*.writeToDir(file("src/greetings"))
    
            and:
            buildFile << """
    model {
        components {
            main(NativeExecutableSpec) {
                sources {
                    cpp.lib library: 'hello'
                }
            }
            hello(NativeLibrarySpec) {
                sources {
                    cpp.lib library: 'greetings', linkage: 'static'
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ExeWithDiamondDependencyHelloWorldApp.groovy

        }
    
        @Override
        SourceFile getMainSource() {
            sourceFile("cpp", "main.cpp", """
                #include <iostream>
                #include "hello.h"
                #include "greetings.h"
    
                const char* getExeHello() {
                    #ifdef FRENCH
                    return "${HELLO_WORLD_FRENCH}";
                    #else
                    return "${HELLO_WORLD}";
                    #endif
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/HelperProcessorFixture.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    import javax.tools.StandardLocation
    
    /**
     * Generates a "Helper" class for each annotated type. The helper has a "getValue()" method that returns
     * a greeting. The greeting is composed of a message and a suffix. The message is compiled into a support
     * library. The suffix is compiled directly into the processor. This makes it easy to test different incremental
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top