Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SystemPropertyInjection (0.43 sec)

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

    package org.gradle.internal.cc.impl.inputs.undeclared
    
    import org.gradle.internal.cc.impl.AbstractConfigurationCacheIntegrationTest
    
    abstract class SystemPropertyInjection extends BuildInputInjection {
        List<String> getGradleArgs() {
            return []
        }
    
        static List<SystemPropertyInjection> all(String prop, String value) {
            return [
                commandLine(prop, value),
                gradleProperties(prop, value),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy

            then:
            problems.assertResultHasProblems(result) {
                withInput("Build file 'build.gradle': system property 'CI'")
            }
    
            where:
            mechanism << SystemPropertyInjection.all("CI", "false")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/13569")
        def "reports build logic reading system properties using GString parameters - #expression"() {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
Back to top