Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 210 for SystemProperties (0.22 sec)

  1. maven-core/src/test/resources-project-builder/plugin-config-properties/pom.xml

                      <version>2.4</version>
                      <configuration>
                        <systemProperties>
                          <property>
                            <name>my.property</name>
                            <value>my.value</value>
                          </property>
                        </systemProperties>
                      </configuration>
                    </plugin>
                </plugins>
            </pluginManagement>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Nov 09 12:45:14 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/SystemPropertiesTest.groovy

    import spock.lang.Specification
    
    class SystemPropertiesTest extends Specification {
        def "can be queried for standard system properties"() {
            expect:
            SystemProperties.instance.isStandardProperty("os.name")
            !SystemProperties.instance.isStandardProperty("foo.bar")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 943 bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/LinePrefixingStyledTextOutputTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.logging.text
    
    import org.gradle.internal.SystemProperties
    import org.gradle.util.internal.TextUtil
    import spock.lang.Specification
    
    class LinePrefixingStyledTextOutputTest extends Specification {
    
        StringBuilder result
    
        StyledTextOutput styledTextOutput
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

            succeeds("help")
    
            then:
            nativeDir.directory
        }
    
        @ToBeImplemented("https://github.com/gradle/gradle/issues/28203")
        def "native services are #description with systemProperties == #systemProperties"() {
            given:
            // We set Gradle User Home to a different temporary directory that is outside
            // a project dir to avoid file lock issues on Windows due to native services being loaded
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            systemProperties[integTestUseAgentSysPropName] = shouldUseAgent.toString()
        }
    }
    
    
    private
    fun IntegrationTest.addDebugProperties() {
        // TODO Move magic property out
        if (project.hasProperty("org.gradle.integtest.debug")) {
            systemProperties["org.gradle.integtest.debug"] = "true"
            testLogging.showStandardStreams = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/util/internal/MavenUtil.java

     * limitations under the License.
     */
    
    package org.gradle.util.internal;
    
    import org.gradle.internal.SystemProperties;
    
    import javax.annotation.Nullable;
    import java.io.File;
    
    public class MavenUtil {
    
        public static File getUserMavenDir() {
            return new File(SystemProperties.getInstance().getUserHome(), ".m2");
        }
    
        @Nullable
        public static File getGlobalMavenDir() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 24 10:34:35 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/initialization/BuildLayoutParameters.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.initialization;
    
    import org.gradle.internal.SystemProperties;
    import org.gradle.internal.installation.CurrentGradleInstallation;
    import org.gradle.internal.installation.GradleInstallation;
    
    import javax.annotation.Nullable;
    import java.io.File;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 26 20:57:11 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonJvmOptions.java

            systemProperties(currentProcessJvmOptions.getImmutableSystemProperties());
            handleDaemonImmutableProperties(currentProcessJvmOptions.getMutableSystemProperties());
        }
    
        private void handleDaemonImmutableProperties(Map<String, Object> systemProperties) {
            for (Map.Entry<String, ?> entry : systemProperties.entrySet()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InstrumentedTest.groovy

            System.setProperty("prop", "value")
    
            when:
            Instrumented.systemProperties("consumer").entrySet().forEach { e ->
            }
    
            then:
            1 * listener.systemPropertyQueried("prop", "value", "consumer")
    
            when:
            Instrumented.systemProperties("consumer").forEach { k, v ->
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultGradleRunner.java

            this.debug = Boolean.getBoolean(DEBUG_SYS_PROP);
        }
    
        private static TestKitDirProvider calculateTestKitDirProvider(SystemProperties systemProperties) {
            return systemProperties.withSystemProperties((Factory<TestKitDirProvider>) () -> {
                if (System.getProperties().containsKey(TEST_KIT_DIR_SYS_PROP)) {
                    return new ConstantTestKitDirProvider(new File(System.getProperty(TEST_KIT_DIR_SYS_PROP)));
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top