Redirect Maven/uv caches into workspace (sandbox-safe mise env)
This commit is contained in:
@@ -22,6 +22,7 @@ TestResults/
|
||||
|
||||
## Java
|
||||
target/
|
||||
.m2repo/
|
||||
|
||||
## Python
|
||||
__pycache__/
|
||||
@@ -29,3 +30,5 @@ __pycache__/
|
||||
.venv/
|
||||
.pytest_cache/
|
||||
.ruff_cache/
|
||||
.uv-cache/
|
||||
.uv-managed-python/
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
[tools]
|
||||
java = "temurin-21.0.9+10.0.LTS"
|
||||
maven = "3.9.16"
|
||||
|
||||
[env]
|
||||
# Keep the Maven local repository inside the workspace (sandboxes often block ~/.m2)
|
||||
MAVEN_OPTS = "-Dmaven.repo.local=.m2repo"
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
[tools]
|
||||
python = "3.13.16"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user