Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for gradleProp (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/StaticVersionsReadOnlyCacheDependencyResolutionTest.groovy

                }
            """
    
            when:
            withReadOnlyCache()
            succeeds ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', 'org.gradle:ro-test:20') {
                    module('org.readonly:core:1.0')
                }
            }
    
            and:
            assertInReadOnlyCache('core-1.0.jar')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/NonUniqueSnapshotVersionsReadOnlyCacheDependencyResolutionTest.groovy

            latest.artifact.sha1.expectGet()
            latest.artifact.expectGet()
    
            succeeds ':checkDeps', '--refresh-dependencies'
    
            then:
            resolve.expectGraph {
                root(':', 'org.gradle:ro-test:20') {
                    module('org.module:core:1.0-SNAPSHOT')
                }
            }
    
            and:
            assertNotInReadOnlyCache("core-1.0-SNAPSHOT.jar")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/DynamicVersionsReadOnlyCacheDependencyResolutionTest.groovy

            if (resolveDynamic) {
                executer.withArgument("--refresh-dependencies")
            }
    
            succeeds ':checkDeps'
    
            then:
            resolve.expectGraph {
                root(':', 'org.gradle:ro-test:20') {
                    edge('org.module:core:+', 'org.module:core:1.1')
                }
            }
    
            and:
            assertNotInReadOnlyCache("core-1.1.jar")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/SnapshotVersionsReadOnlyCacheDependencyResolutionTest.groovy

            latest.artifact.sha1.expectGet()
            latest.artifact.expectGet()
    
            succeeds ':checkDeps', '--refresh-dependencies'
    
            then:
            resolve.expectGraph {
                root(':', 'org.gradle:ro-test:20') {
                    snapshot('org.module:core:1.0-SNAPSHOT', latest.uniqueSnapshotVersion, '1.0-SNAPSHOT')
                }
            }
    
            and:
            assertNotInReadOnlyCache("core-1.0-SNAPSHOT.jar")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top