Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for greetings (0.13 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

                gradle {
                    'one.gradle'('''
                        class Greeter { String toString() { 'Greetings from One!' } }
                        greet.doLast() { println new Greeter() }
                    ''')
    
                    'two.gradle'('''
                        class Greeter { String toString() { 'Greetings from Two!' } }
                        greet.doLast() { println new Greeter() }
                    ''')
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonMessageSerializerTest.groovy

            expect:
            def message = new ForwardInput("greetings".bytes)
            def messageResult = serialize(message, serializer)
            messageResult instanceof ForwardInput
            messageResult.bytes == message.bytes
        }
    
        def "can serialize UserResponse messages"() {
            expect:
            def message = new UserResponse("greetings")
            def messageResult = serialize(message, serializer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            def runGreetWith = { String greeting ->
                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"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

            def producer = file('producer')
            def consumer = file('consumer')
            def pluginModule = mavenRepo.module('com.example', 'producer', '1.0')
            def pluginMarker = mavenRepo.module('com.example.greeting', 'com.example.greeting.gradle.plugin', '1.0')
    
            producer.file('settings.gradle') << ''
            producer.file('build.gradle') << """
                plugins {
                    id('java-gradle-plugin')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    <5> Alternative notation to calling Property.set()
    
    ----
    $ gradle greeting
    include::{snippetsPath}/providers/propertyAndProvider/tests/usePropertyAndProvider.out[]
    ----
    
    The `Greeting` task has a property of type `Property<String>` to represent the configurable greeting and a property of type `Provider<String>` to represent the calculated, read-only, message.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/custom_plugins.adoc

    The plugin is essentially moved from the `buildSrc` folder to its own build called `greeting-plugin`.
    
    NOTE: You can publish the plugin from `buildSrc`, but this is not recommended practice. Plugins that are ready for publication should be in their own build.
    
    `greeting-plugin` is simply a Java project that produces a JAR containing the plugin classes.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 21:49:49 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_binary.adoc

    This Gradle build file defines a task `GreetingToFileTask` that writes a greeting to a file.
    It also registers two tasks: `greet`, which creates the file with the greeting, and `sayGreeting`, which prints the file's contents.
    The `greetingFile` property is used to specify the file path for the greeting:
    
    ====
    include::sample[dir="snippets/tasks/customTaskWithFileProperty/kotlin",files="build.gradle.kts[tags=all]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 29 02:31:44 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  8. src/net/smtp/smtp.go

    	return code, msg, err
    }
    
    // helo sends the HELO greeting to the server. It should be used only when the
    // server does not support ehlo.
    func (c *Client) helo() error {
    	c.ext = nil
    	_, _, err := c.cmd(250, "HELO %s", c.localName)
    	return err
    }
    
    // ehlo sends the EHLO (extended hello) greeting to the server. It
    // should be the preferred greeting for servers that support it.
    func (c *Client) ehlo() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

                    @Input
                    abstract Property<String> getGreeting()
    
                    @TaskAction void run() { println greeting.get() }
                }
    
                def greetValueSource = providers.of(GreetValueSource) {}
                tasks.register("greet", MyTask) {
                    greeting = greetValueSource
                }
            """)
    
            when:
            configurationCacheRun "greet"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/test.go

    		t.Error(evt)
    	}
    }
    
    // api
    
    const greeting = "hello, world"
    
    type testPair struct {
    	Name      string
    	Got, Want interface{}
    }
    
    var testPairs = []testPair{
    	{"GoString", C.GoString(C.greeting), greeting},
    	{"GoStringN", C.GoStringN(C.greeting, 5), greeting[:5]},
    	{"GoBytes", C.GoBytes(unsafe.Pointer(C.greeting), 5), []byte(greeting[:5])},
    }
    
    func testHelpers(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top