Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for greetings (0.2 sec)

  1. 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)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

                    @Input
                    abstract Property<String> getGreeting()
    
                    @TaskAction void run() { println greeting.get() }
                }
    
                def greetValueSource = providers.of(GreetValueSource) {}
                tasks.register("greet", MyTask) {
                    greeting = greetValueSource
                }
            """)
    
            when:
            configurationCacheRun "greet"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top