Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for GRADLE_USER_HOME (0.45 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy

            File gradleUserHomeDir = file('customUserHome')
    
            then:
            executer
                .withOwnUserHomeServices()
                .withGradleUserHomeDir(null)
                .withEnvironmentVars('GRADLE_USER_HOME': gradleUserHomeDir.absolutePath)
                .withTasks("checkGradleUserHomeViaSystemEnv")
                .run()
        }
    
        @Requires([UnitTestPreconditions.NotEC2Agent, IntegTestPreconditions.NotEmbeddedExecutor])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/test/groovy/org/gradle/api/tasks/wrapper/WrapperTest.groovy

            Wrapper.DEFAULT_DISTRIBUTION_PARENT_NAME == wrapper.getDistributionPath()
            Wrapper.DEFAULT_DISTRIBUTION_PARENT_NAME == wrapper.getArchivePath()
            Wrapper.PathBase.GRADLE_USER_HOME == wrapper.getDistributionBase()
            Wrapper.PathBase.GRADLE_USER_HOME == wrapper.getArchiveBase()
            wrapper.getDistributionUrl() != null
            wrapper.getDistributionSha256Sum() == null
            !wrapper.getNetworkTimeout().isPresent()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/build_environment.adoc

    |===
    |Priority |Method |Location |Details
    
    |1
    |Command line interface
    |.
    |In the command line using `-D`.
    
    |2
    |`gradle.properties` file
    |`GRADLE_USER_HOME`
    |Stored in a `gradle.properties` file in the `<<directory_layout.adoc#dir:gradle_user_home,GRADLE_USER_HOME>>`.
    
    |3
    |`gradle.properties` file
    |Project Root Dir
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/optimizing-performance/gradle_daemon.adoc

    To enable the Daemon by default in older Gradle versions, add the following setting to the `gradle.properties` file in the project root or your Gradle User Home (`GRADLE_USER_HOME`:
    
    ====
    .gradle.properties
    [source,properties]
    ----
    org.gradle.daemon=true
    ----
    ====
    
    [[sec:disabling_the_daemon]]
    == Disable Daemon
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:43:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr1_gradle_init.adoc

    Inside the root project directory are one or more subprojects, build scripts, and the Gradle wrapper.
    
    While the Gradle Wrapper is local to the root project, the Gradle executable is found in the `GRADLE_USER_HOME`.
    
    The `GRADLE_USER_HOME`, which defaults to `USER_HOME/.gradle`, is also where Gradle stores its global configuration properties, initialization scripts, caches, log files and more.
    
    == Step 3. Review the Gradle Files
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 22:50:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

            def text = file.text.replaceAll(pattern, '@CACHE_DIR@/$1/@SHA1@/')
            pattern = Pattern.compile("GRADLE_USER_HOME/${CacheLayout.MODULES.getKey()}/${CacheLayout.FILE_STORE.getKey()}/([^/]+/[^/]+/[^/]+)/[a-z0-9]+/")
            text = text.replaceAll(pattern, 'GRADLE_USER_HOME/@CACHE@/$1/@SHA1@/')
    
            //remove trailing slashes for windows paths
            text = text.replaceAll("jar:file:/", 'jar:file:')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/troubleshooting.adoc

    NOTE: Additional logs from the <<gradle_daemon.adoc#gradle_daemon,Gradle Daemon>> can be found under `$<<directory_layout.adoc#dir:gradle_user_home,GRADLE_USER_HOME>>/daemon/{gradleVersion}/`.
    
    === Task executed when it should have been UP-TO-DATE
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:22:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/dependency_resolution.adoc

    This means that it is perfectly possible to copy a cache around and see Gradle benefit from it.
    
    The path that can be copied is `$GRADLE_USER_HOME/caches/modules-<version>`.
    The only constraint is placing it using the same structure at the destination, where the value of `GRADLE_USER_HOME` can be different.
    
    Do not copy the `*.lock` or `gc.properties` files if they exist.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/DependencyVerificationReportWriter.java

        private String shortenPath(File file) {
            Path path = file.toPath();
            try {
                Path relativize = gradleUserHome.relativize(path);
                return "GRADLE_USER_HOME" + File.separator + relativize;
            } catch (IllegalArgumentException e) {
                return file.getAbsolutePath();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/GradleRunner.java

         * <ol>
         * <li>The system property {@code "gradle.user.home"}</li>
         * <li>The environment variable {@code "GRADLE_USER_HOME"}</li>
         * </ol>
         * <p>
         * If neither are present, {@code "~/.gradle"} will be used, where {@code "~"} is the value advertised by the JVM's {@code "user.dir"} system property.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 19.6K bytes
    - Viewed (0)
Back to top