Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 270 for greetings (0.15 sec)

  1. 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)
  2. 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)
  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/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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top