Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for GREETING (0.15 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcIntegrationTest.groovy

            buildFile << """
                task greeting(type: CustomTask) {
                    greeting = 'yo configuration cache'
                }
            """
            def configurationCache = newConfigurationCacheFixture()
    
            when:
            configurationCacheRun("greeting")
    
            then:
            result.assertTaskExecuted(":buildSrc:jar")
            result.assertTaskExecuted(":greeting")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_precompiled.adoc

    ====
    include::sample[dir="snippets/plugins/greeting/kotlin", files="buildSrc/src/main/kotlin/greetings.gradle.kts[tags=task]"]
    include::sample[dir="snippets/plugins/greeting/groovy", files="buildSrc/src/main/groovy/greetings.gradle[tags=task]"]
    ====
    
    ----
    $ gradle -q hello
    include::{snippetsPath}/plugins/greeting/tests/greeting.out[]
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/CppLibraryInitIntegrationTest.groovy

            then:
            subprojectDir.file("src/main/cpp").assertHasDescendants(SAMPLE_LIB_CLASS)
            subprojectDir.file("src/main/public").assertHasDescendants("greeting.h")
            subprojectDir.file("src/test/cpp").assertHasDescendants(SAMPLE_LIB_TEST_CLASS)
    
            and:
            subprojectDir.file("src/main/public/greeting.h").text.contains("namespace greeting {")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. 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)
  7. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyApplicationInitIntegrationTest.groovy

            and:
            commonJvmFilesGenerated(scriptDsl)
    
            when:
            run("build")
    
            then:
            assertTestPassed("org.example.AppTest", "application has a greeting")
    
            when:
            run("run")
    
            then:
            outputContains("Hello World!")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/ScalaApplicationInitIntegrationTest.groovy

            and:
            commonJvmFilesGenerated(scriptDsl)
    
            when:
            run("build")
    
            then:
            assertTestPassed("org.example.AppSuite", "App has a greeting")
    
            when:
            run("run")
    
            then:
            outputContains("Hello, world!")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunication.java

            //ibm vm 1.6 + windows XP gotchas:
            //we need to print something else to the stream after we print the daemon greeting.
            //without it, the parent hangs without receiving the message above (flushing does not help).
            LOGGER.debug("Completed writing the daemon greeting. Closing streams...");
            //btw. the ibm vm+winXP also has some issues detecting closed streams by the child but we handle this problem differently.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/BuildLogicChangeFixture.groovy

                        }
                    """
                    break
                case Language.KOTLIN:
                    writeSourceFile "kotlin", "${className}.kt", """
                        open class ${className} : ${DefaultTask.name}() {
                            @${TaskAction.name} fun greet() { println("${greeting}") }
                        }
                    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top