Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for greetings (0.22 sec)

  1. 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)
  2. platforms/documentation/docs/src/snippets/customPlugins/customPluginWithConvention/groovy/build.gradle

    interface GreetingPluginExtension {
        Property<String> getMessage()
    }
    
    class GreetingPlugin implements Plugin<Project> {
        void apply(Project project) {
            // Add the 'greeting' extension object
            def extension = project.extensions.create('greeting', GreetingPluginExtension)
            extension.message.convention('Hello from GreetingPlugin')
            // Add a task that uses configuration from the extension object
            project.task('hello') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 22:56:31 UTC 2024
    - 592 bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableFunctionMultiModules2.kt

    }
    
    // MODULE: main(lib)
    // FILE: main.kt
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    import p3.setContent
    
    fun test(): Int {
        return setContent {
            Greeting("test")
        }
    }
    
    @MyComposable
    fun Greeting(name: String) {
        show("hi $name!")
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Feb 26 21:57:23 UTC 2024
    - 542 bytes
    - Viewed (0)
  4. 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)
  5. platforms/documentation/docs/src/snippets/developingPlugins/pluginWithVariants/groovy/build.gradle

                    objects.named(GradlePluginApiVersion, '7.0'))
            }
        }
    }
    // end::consume-plugin-variant[]
    
    gradlePlugin {
        plugins.create('greeting') {
            id = 'org.example.greeting'
            implementationClass = 'org.example.GreetingPlugin'
        }
    }
    
    publishing {
        repositories {
            maven { url = layout.buildDirectory.dir('local-repo') }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 01:32:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/developingPlugins/pluginWithVariants/kotlin/build.gradle.kts

                    objects.named("7.0"))
            }
        }
    }
    // end::consume-plugin-variant[]
    
    gradlePlugin {
        plugins.create("greeting") {
            id = "org.example.greeting"
            implementationClass = "org.example.GreetingPlugin"
        }
    }
    
    publishing {
        repositories {
            maven { url = uri(layout.buildDirectory.dir("local-repo")) }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 01:32:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. 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)
  8. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/composableFunctionMultiModules2.ir.txt

              str: STRING_CONCATENATION type=kotlin.String
                CONST String type=kotlin.String value="hi "
                GET_VAR 'name: kotlin.String declared in <root>.Greeting' type=kotlin.String origin=null
                CONST String type=kotlin.String value="!"
        FUN name:show visibility:public modality:FINAL <> (str:kotlin.String) returnType:kotlin.Unit
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Feb 26 21:57:23 UTC 2024
    - 1.6K 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/documentation/docs/src/snippets/plugins/greetingPlugin/groovy/settings.gradle

    rootProject.name = 'greeting'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 04:16:05 UTC 2024
    - 45 bytes
    - Viewed (0)
Back to top