Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 270 for greetings (0.33 sec)

  1. platforms/documentation/docs/src/snippets/tasks/customTaskWithProperty/groovy/build.gradle

        GreetingTask() {
            greeting.convention('hello from GreetingTask')
        }
    
        @TaskAction
        def greet() {
            println greeting.get()
        }
    }
    
    // Use the default greeting
    tasks.register('hello', GreetingTask)
    
    // Customize the greeting
    tasks.register('greeting',GreetingTask) {
        greeting = 'greetings from GreetingTask'
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 491 bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r16/CustomToolingModelCrossVersionSpec.groovy

    import org.gradle.tooling.provider.model.ToolingModelBuilder
    import javax.inject.Inject
    
    apply plugin: CustomPlugin
    
    class CustomModel implements Serializable {
        String getValue() { 'greetings' }
        Set<CustomThing> getThings() { return [new CustomThing()] }
        Map<String, CustomThing> getThingsByName() { return [thing: new CustomThing()] }
    }
    class CustomThing implements Serializable {
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

            testApp.writeSources(file("src/main"), file("src/hello"), file("src/greetings"))
    
            buildFile << """
    model {
        components {
            main(NativeExecutableSpec) {
                sources {
                    cpp.lib library: "hello"
                    cpp.lib library: "greetings", linkage: "static"
                }
            }
            hello(NativeLibrarySpec) {
                sources {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top