Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for saveProperties (0.22 sec)

  1. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/PluginUnderTestMetadata.java

            saveProperties(properties, outputFile);
        }
    
        private String implementationClasspath() {
            StringBuilder implementationClasspath = new StringBuilder();
            Joiner.on(File.pathSeparator).appendTo(implementationClasspath, getPaths());
            return implementationClasspath.toString();
        }
    
        private void saveProperties(Properties properties, File outputFile) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/initialization/ProjectPropertySettingBuildLoaderTest.groovy

            1 * rootProperties.set('prop', 'value')
        }
    
        def "loads project properties from gradle.properties file in project dir"() {
            given:
            GUtil.saveProperties(new Properties([prop: 'rootValue']), rootPropertiesFile())
            GUtil.saveProperties(new Properties([prop: 'childValue']), childPropertiesFile())
    
            when:
            loader.load(settings, gradle)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Oct 22 03:06:58 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/MoreMemorySampleModifier.java

            String existingArgs = properties.getProperty(ORG_GRADLE_JVMARGS, "");
            properties.setProperty(ORG_GRADLE_JVMARGS, "-Xmx512m -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError " + existingArgs);
            GUtil.saveProperties(properties, propertiesFile);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultFileAccessTimeJournal.java

                Properties properties = new Properties();
                properties.setProperty(INCEPTION_TIMESTAMP_KEY, String.valueOf(inceptionTimestamp));
                GUtil.saveProperties(properties, propertiesFile);
                return inceptionTimestamp;
            });
        }
    
        @Override
        public void stop() {
            cache.close();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy

        }
    
        def "fails when no implementation class specified in properties file"() {
            def properties = new Properties()
            def propertiesFile = testDir.file("prop")
            GUtil.saveProperties(properties, propertiesFile)
            def url = propertiesFile.toURI().toURL()
    
            given:
            _ * classLoader.getResource("META-INF/gradle-plugins/noImpl.properties") >> url
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 13K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java

                throw new UncheckedIOException(e);
            } finally {
                IoActions.closeQuietly(inputStream);
            }
            return properties;
        }
    
        public static void saveProperties(Properties properties, File propertyFile) {
            try {
                FileOutputStream propertiesFileOutputStream = new FileOutputStream(propertyFile);
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

                throw new UncheckedIOException(e);
            } finally {
                IoActions.closeQuietly(inputStream);
            }
            return properties;
        }
    
        public static void saveProperties(Properties properties, File propertyFile) {
            try {
                FileOutputStream propertiesFileOutputStream = new FileOutputStream(propertyFile);
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top