Redirect Maven/uv caches into workspace (sandbox-safe mise env)
This commit is contained in:
@@ -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/
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user