diff --git a/.gitignore b/.gitignore index 0bb13b6..025fecb 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/java/mise.toml b/java/mise.toml index ddcb511..9b1231b 100644 --- a/java/mise.toml +++ b/java/mise.toml @@ -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" diff --git a/python/mise.toml b/python/mise.toml index 509612f..cda0a11 100644 --- a/python/mise.toml +++ b/python/mise.toml @@ -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"