Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for greetings (0.26 sec)

  1. 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)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

            debugInstall.exec().out == app.withFeatureDisabled().expectedOutput
            debugInstall.assertIncludesLibraries("greeting")
            def debugLib = sharedLibrary(producer.file("build/lib/main/debug/greeting"))
            sharedLibrary(consumer.file("build/install/main/debug/lib/greeting")).file.assertIsCopyOf(debugLib.file)
    
            when:
            executer.inDirectory(consumer)
            run("installRelease")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr1_gradle_init.adoc

            return "Hello World!";
        }
    
        public static void main(String[] args) {
            System.out.println(new App().getGreeting());
        }
    }
    ----
    
    The code prints out a simple "Hello World" greeting to the screen.
    
    A test class is available at `app/src/test/java/authoring/tutorial/AppTest.java`:
    
    .AppTest.java
    [source, java]
    ----
    package authoring.tutorial;
    
    import org.junit.jupiter.api.Test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 22:50:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy

                    @Test
                    public void testSomething() {
                        App classUnderTest = new App();
                        Assert.assertNotNull(classUnderTest.getGreeting(), "app should have a greeting");
                    }
                }
            """
    
            expect: "compilation does not configure tests"
            succeeds("compileJava")
    
            and: "running tests fails due to configuring tests"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 20:36:32 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/documentation/docs/src/docs/userguide/releases/migrating/migrating_from_maven.adoc

    .Output of **`gradle greeting`**
    ----
    > gradle greeting
    include::{snippetsPath}/mavenMigration/profiles/tests/greeting-default.out[]
    ----
    .Output of **`gradle -PbuildProfile=test greeting`**
    ----
    > gradle -PbuildProfile=test greeting
    include::{snippetsPath}/mavenMigration/profiles/tests/greeting-test.out[]
    ----
    
    You're not limited to checking project properties.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top