diff --git a/README.md b/README.md index 07c5fe412..895a80795 100644 --- a/README.md +++ b/README.md @@ -618,6 +618,17 @@ Download it from the same link as the command above. Then run from a console, in ``` The `-noverify` option seems to be required after the proguarding step of the main JAR of coursier. +#### How to enable sandboxing? + +Set the `COURSIER_CACHE` prior to running `coursier` or SBT, like +``` +$ COURSIER_CACHE=$(pwd)/.coursier-cache coursier +``` +or +``` +$ COURSIER_CACHE=$(pwd)/.coursier-cache sbt +``` + ## Development tips #### Working on the plugin module in an IDE diff --git a/doc/README.md b/doc/README.md index 75d594d95..0e3d04a1b 100644 --- a/doc/README.md +++ b/doc/README.md @@ -642,6 +642,17 @@ Download it from the same link as the command above. Then run from a console, in ``` The `-noverify` option seems to be required after the proguarding step of the main JAR of coursier. +#### How to enable sandboxing? + +Set the `COURSIER_CACHE` prior to running `coursier` or SBT, like +``` +$ COURSIER_CACHE=$(pwd)/.coursier-cache coursier +``` +or +``` +$ COURSIER_CACHE=$(pwd)/.coursier-cache sbt +``` + ## Development tips #### Working on the plugin module in an IDE