Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for greetings (0.14 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/software/dependency-management/src/integTest/groovy/org/gradle/plugin/devel/variants/TargetJVMVersionOnPluginTooNewFailureDescriberIntegrationTest.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').createFile()
            producer.file('build.gradle') << """
                plugins {
                    id('java-gradle-plugin')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 20:48:53 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr5_build_scripts.adoc

                doLast {
                    println("Hello from plugin 'com.tutorial.greeting'")
                }
            }
        }
    }
    ----
    =====
    
    As we can see, the `license` plugin, when applied, exposes a `greeting` task with a simple print statement.
    
    == Step 5. View Plugin Tasks
    
    When the `license` plugin is applied to the `app` project, the `greeting` task becomes available:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/tutorial_using_tasks.adoc

    tasks.register("hello") {
        group = "Custom"
        description = "A lovely greeting task."
        doLast {
            println("Hello world!")
        }
    }
    ----
    
    Once the task is assigned to a group, it will be listed by `./gradlew tasks`:
    
    [source]
    ----
    $ ./gradlew tasks
    
    > Task :tasks
    
    Custom tasks
    ------------------
    hello - A lovely greeting task.
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 00:09:06 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/publishing_gradle_plugins.adoc

    ----
    
    NOTE: You will encounter a permission failure if you attempt to publish the example Greeting Plugin with the ID used in this section.
    That's expected and ensures the portal won't be overrun with multiple experimental and duplicate greeting-type plugins.
    
    After approval, your plugin will be available on the Gradle Plugin Portal for others to discover and use.
    
    [[consume]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 18:40:53 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. 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)
  10. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
           * <-- 200 OK (22ms, 6-byte body)
           * ```
           */
          BASIC,
    
          /**
           * Logs request and response lines and their respective headers.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1
           * Host: example.com
           * Content-Type: plain/text
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top