Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for PROPERTIES (0.14 sec)

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

                    return "(String)System.getProperties().get(\"$name\")"
                }
    
                @Override
                String getGroovyExpression() {
                    return "System.properties[\"$name\"]"
                }
    
                @Override
                String getKotlinExpression() {
                    return "System.getProperties()[\"$name\"]"
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInJavaIntegrationTest.groovy

                import ${Plugin.name};
                import ${Project.name};
                import ${Properties.name};
    
                public class SomePlugin implements Plugin<Project> {
                    public void apply(Project project) {
                        Properties newProps = new Properties();
                        System.getProperties().forEach(newProps::put);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInStaticGroovyIntegrationTest.groovy

                @CompileStatic
                class SomePlugin implements Plugin<Project> {
                    void apply(Project project) {
                        def newProps = new Properties()
                        System.properties.forEach { k, v -> newProps[k] = v }
                        newProps.replace("some.property", "new.value")
                        ${setProperties}(newProps)
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy

                import static ${System.name}.setProperties
    
                class SomePlugin implements Plugin<Project> {
                    void apply(Project project) {
                        def newProps = new Properties()
                        System.properties.forEach { k, v -> newProps[k] = v }
                        newProps.replace("some.property", "new.value")
                        ${setProperties}(newProps)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInjection.groovy

            return new SystemPropertyInjection() {
                @Override
                String getDescription() {
                    return "using gradle.properties"
                }
    
                @Override
                void setup(AbstractConfigurationCacheIntegrationTest test) {
                    test.file("gradle.properties").text = "systemProp.${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)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/GradlePropertiesIncludedBuildFixture.groovy

                """
            }
        }
    
        static class BuildSrc extends BuildWithGradleProperties {
    
            @Override
            void setup(AbstractIntegrationSpec spec) {
                spec.file("buildSrc/gradle.properties") << "bar=101"
                spec.file("buildSrc/build.gradle") << echoTaskForProperty("bar")
            }
    
            @Override
            String task() {
                return ":buildSrc:echo"
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCleanupIntegrationTest.groovy

            cacheDir.listFiles().length == 3 // gc file + cache properties + 'help' state
        }
    
        private TestFile createCacheEntryDir(String entry) {
            TestFile dir = cacheDir.createDir(entry)
            dir.createFile("state.bin")
            dir.createFile("fingerprint.bin")
            return dir
        }
    
        private TestFile getGcFile() {
            return cacheDir.file("gc.properties")
        }
    
        private TestFile getCacheDir() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIgnoringIntegrationTest.groovy

            outputContains("exists = false")
            problems.assertResultHasProblems(result) {
                withInput("Build file 'build.gradle': file system entry")
            }
    
            when:
            file("gradle.properties") << """$IGNORE_FS_CHECKS_PROPERTY=build/*.lock"""
            configurationCacheRun()
    
            then:
            outputContains("exists = false")
            problems.assertResultHasProblems(result) {
                withNoInputs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPsiJavaClassSymbol.kt

    /**
     * Implements [KaNamedClassOrObjectSymbol] for a Java class. The underlying [firSymbol] is built lazily and only when needed. Many simple
     * properties are computed from the given [PsiClass] instead of [firSymbol]. This improves performance when "slow" properties don't need to
     * be accessed.
     */
    internal class KaFirPsiJavaClassSymbol(
        override val psi: PsiClass,
        override val analysisSession: KaFirSession,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-groovy/build.gradle.kts

        testRuntimeOnly(project(":distributions-core")) {
            because("NonTransformedModelDslBackingTest instantiates DefaultClassLoaderRegistry which requires a 'gradle-plugins.properties' through DefaultPluginModuleRegistry")
        }
        integTestDistributionRuntimeOnly(project(":distributions-core"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 841 bytes
    - Viewed (0)
Back to top