Caleb Cushing
11/08/2024, 2:56 PM<repo>/.gradle directory? is there anything that say I can't make a subdirectory in there?Thomas Broyer
11/08/2024, 3:09 PMgradle.startParameters.projectCacheDir, also pointing out that Gradle says you shouldn't store arbitrary things in there?
https://docs.gradle.org/current/javadoc/org/gradle/StartParameter.html#getProjectCacheDir()Caleb Cushing
11/08/2024, 4:02 PM.gradle which is more than .gradle/cachesCaleb Cushing
11/08/2024, 4:03 PM.gradle/com.xenoterracide.something/Caleb Cushing
11/08/2024, 4:04 PMCaleb Cushing
11/08/2024, 4:04 PMThomas Broyer
11/08/2024, 4:05 PM.gradle/caches in the project (you said <repo> above), the whole .gradle is the cache dir.
See --project-cache-dir in https://docs.gradle.org/current/userguide/command_line_interface.html#sec:environment_options, also https://docs.gradle.org/current/userguide/directory_layout.html#dir:project_rootThomas Broyer
11/08/2024, 4:07 PM~/.gradle/? https://docs.gradle.org/current/userguide/directory_layout.html#dir:gradle_user_home
Then I think you can store things inside; I believe the AGP and KGP already do such thing.Caleb Cushing
11/08/2024, 4:07 PMlsCaleb Cushing
11/08/2024, 4:08 PMCaleb Cushing
11/08/2024, 4:08 PM❯ ls .gradle
8.10.2 configuration-cache noVersion workspace-id.txt
buildOutputCleanup file-system.probe vcs-1 workspace-id.txt.lockCaleb Cushing
11/08/2024, 4:09 PMrootProject dir and fetch from thereCaleb Cushing
11/08/2024, 4:10 PMCaleb Cushing
11/08/2024, 4:10 PMThomas Broyer
11/08/2024, 4:11 PMCaleb Cushing
11/08/2024, 4:13 PMThomas Broyer
11/08/2024, 4:15 PM$rootDir/.my-own-cache (as long as it's duly documented for users) if you feel ${rootProject.buildDir}/my-own-cache won't work for you for whichever reason. And if that cache is project-independent, then store somewhere in the user home (possibly in the Gradle User Home dir)Caleb Cushing
11/08/2024, 4:32 PMCaleb Cushing
11/08/2024, 4:37 PMAdam
11/09/2024, 6:27 AMAdam
11/09/2024, 6:28 AMCaleb Cushing
11/09/2024, 2:26 PM