Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 242 for GREETING (0.17 sec)

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

    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
    - 94 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/ant/useAntTask/kotlin/build.gradle.kts

    tasks.register("hello") {
        doLast {
            val greeting = "hello from Ant"
            ant.withGroovyBuilder {
                "echo"("message" to greeting)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 171 bytes
    - Viewed (0)
  3. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/swiftapp/main.swift.template

    ${fileComment.multilineComment}
    class Greeter {
        public func greeting() -> String {
            return "Hello, World!"
        }
    }
    
    let greeter = Greeter()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 177 bytes
    - Viewed (0)
  4. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/kotlinapplication/App.kt.template

    ${fileComment.multilineComment}${packageDecl.statement}
    class App {
        val greeting: String
            get() {
                return "Hello World!"
            }
    }
    
    fun main() {
        println(App().greeting)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 199 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/ant/useAntTask/groovy/build.gradle

    tasks.register('hello') {
        doLast {
            String greeting = 'hello from Ant'
            ant.echo(message: greeting)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 126 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/gradle-plugin/groovy/greeting-plugin/build.gradle

    }
    
    dependencies {
        // Use JUnit test framework for unit tests
        testImplementation 'junit:junit:4.13'
    }
    
    gradlePlugin {
        // Define the plugin
        plugins {
            greeting {
                id = 'com.example.plugin.greeting'
                implementationClass = 'com.example.plugin.GreetingPlugin'
            }
        }
    }
    // end::plugin[]
    
    // Add a source set and a task for a functional test suite
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top