Redirect Maven/uv caches into workspace (sandbox-safe mise env)

This commit is contained in:
2026-10-01 12:47:45 +01:00
parent 035ccb5e27
commit d9f78162e7
3 changed files with 12 additions and 0 deletions
+3
View File
@@ -22,6 +22,7 @@ TestResults/
## Java ## Java
target/ target/
.m2repo/
## Python ## Python
__pycache__/ __pycache__/
@@ -29,3 +30,5 @@ __pycache__/
.venv/ .venv/
.pytest_cache/ .pytest_cache/
.ruff_cache/ .ruff_cache/
.uv-cache/
.uv-managed-python/
+4
View File
@@ -1,3 +1,7 @@
[tools] [tools]
java = "temurin-21.0.9+10.0.LTS" java = "temurin-21.0.9+10.0.LTS"
maven = "3.9.16" maven = "3.9.16"
[env]
# Keep the Maven local repository inside the workspace (sandboxes often block ~/.m2)
MAVEN_OPTS = "-Dmaven.repo.local=.m2repo"
+5
View File
@@ -1,3 +1,8 @@
[tools] [tools]
python = "3.13.16" python = "3.13.16"
uv = "0.12.21" uv = "0.12.21"
[env]
# Keep uv caches/installs inside the workspace (sandboxes often block ~/.local/share/uv)
UV_CACHE_DIR = "./.uv-cache"
UV_PYTHON_INSTALL_DIR = "./.uv-managed-python"