Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for gradleProps (0.1 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/AndroidTestProject.groovy

            }
    
            @Override
            void beforeScenario(ScenarioContext context) {
                def gradleProps = new File(invocation.projectDir, "gradle.properties")
                gradleProps << "\norg.gradle.java.home=${buildJavaHome.absolutePath.replace("\\", "/")}\n"
                gradleProps << "\nsystemProp.javaVersion=${javaVersion.majorVersion}\n"
            }
        }
    
        @Override
        String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGradlePropertiesIntegrationTest.groovy

            settingsFile << """
                println(gradleProp + '!')
            """
    
            when:
            configurationCacheRun "help", "-D${SYSTEM_PROJECT_PROPERTIES_PREFIX}gradleProp=1"
    
            then:
            outputContains '1!'
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun "help", "-D${SYSTEM_PROJECT_PROPERTIES_PREFIX}gradleProp=1"
    
            then:
            outputDoesNotContain '1!'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/KotlinCompilerOptions.kt

        val systemProp = System.getProperty(propertyName)
        val gradleProp = gradleProperties.gradleProperties.find(propertyName)
        return when {
            // System properties have precedence, same as in LayoutToPropertiesConverter
            systemProp != null -> systemProp == "true"
            gradleProp != null -> gradleProp == "true"
            else -> defaultValue.also { whenUnset?.invoke() }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 03 17:11:24 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top