Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 231 for greetings (0.22 sec)

  1. platforms/documentation/docs/src/samples/build-organization/composite-builds/plugin-dev/kotlin/my-greeting-app/build.gradle.kts

    plugins {
        id("org.sample.greeting").version("1.0-SNAPSHOT")
    }
    
    greeting {
        who = "Bob"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 96 bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/App.scala.template

    ${fileComment.multilineComment}${packageDecl.statement}
    object App {
      def main(args: Array[String]): Unit = {
        println(greeting())
      }
    
      def greeting(): String = "Hello, world!"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 185 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/base/customExternalTask/groovy/consumer/build.gradle

    // tag::use-task[]
                url = uri(repoLocation)
            }
        }
        dependencies {
            classpath 'org.gradle:task:1.0-SNAPSHOT'
        }
    }
    
    tasks.register('greeting', org.gradle.GreetingTask) {
        greeting = 'howdy!'
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 386 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/sharing-convention-plugins-with-build-logic/groovy/application/build.gradle

    // tag::plugins[]
    plugins {
        id 'myproject.java-conventions'
        // myproject.greeting is implemented in the buildSrc project that has myproject.java-conventions applied as well
        id 'myproject.greeting'
        id 'application'
    }
    // end::plugins[]
    
    dependencies {
        implementation project(':utilities')
    }
    
    application {
        mainClass = 'org.gradle.sample.app.Main'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 371 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tasks/customTaskWithProperty/tests/customTaskWithProperty.sample.conf

    # tag::cli[]
    # gradle --quiet hello greeting
    # end::cli[]
    executable: gradle
    args: hello greeting
    flags: --quiet
    expected-output-file: customTaskWithProperty.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 192 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/composite-builds/plugin-dev/tests/sanityCheck.sample.conf

    commands: [{
        executable: gradle
        args: tasks -q
        flags: "--include-build=greeting-plugin"
    },{
        execution-subdirectory: greeting-plugin
        executable: gradle
        args: tasks -q
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 193 bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorNestingIntegrationTest.groovy

            workerClass.constructorAction = "this.executor = executor"
            workerClass.action = """
                def theGreeting = parameters.greeting
                parameters.childSubmissions.times {
                    executor.$nestedIsolationMode().submit(SecondLevelExecution) {
                        greeting.set(theGreeting)
                    }
                }
            """
            return workerClass
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/AppTest.kt.template

    import kotlin.test.Test
    import kotlin.test.assertNotNull
    
    class AppTest {
        @Test fun appHasAGreeting() {
            val classUnderTest = App()
            assertNotNull(classUnderTest.greeting, "app should have a greeting")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 284 bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/groovy/AppTest.groovy.template

    ${fileComment.multilineComment}${packageDecl.statement}
    import spock.lang.Specification
    
    class AppTest extends Specification {
        def "application has a greeting"() {
            setup:
            def app = new App()
    
            when:
            def result = app.greeting
    
            then:
            result != null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 306 bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/junitjupiter/AppTest.kt.template

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Assertions.assertNotNull
    
    class AppTest {
        @Test
        fun appHasAGreeting() {
            val classUnderTest = App()
            assertNotNull(classUnderTest.greeting, "app should have a greeting")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 06:44:27 UTC 2024
    - 319 bytes
    - Viewed (0)
Back to top