Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for GRADLE_USER_HOME (0.71 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/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)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/best-practices/organizing_gradle_projects.adoc

    A typical project setup places the `gradle.properties` file in the root directory of the build.
    Alternatively, the file can also live in the `<<directory_layout.adoc#dir:gradle_user_home,GRADLE_USER_HOME>>` directory if you want it to apply to all builds on your machine.
    
    ====
    [.multi-language-sample]
    =====
    [source,kotlin]
    ----
    .
    ├── gradle.properties
    └── settings.gradle.kts
    ├── subproject-a
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:16:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/directory_layout.adoc

    By default, the Gradle User Home (`~/.gradle` or `C:\Users\<USERNAME>\.gradle`) stores global configuration properties, initialization scripts, caches, and log files.
    
    It can be set with the environment variable `GRADLE_USER_HOME`.
    
    TIP: Not to be confused with the `GRADLE_HOME`, the optional installation directory for Gradle.
    
    It is roughly structured as follows:
    
    [listing]
    ----
    ├── caches // <1>
    │   ├── 4.8 // <2>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 23:00:38 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top