Nothing Special   »   [go: up one dir, main page]

Skip to content

Commit

Permalink
Add DISABLE_DEPENDENCY_CLASSPATH_LOG environment variable (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
Malax authored Sep 30, 2022
1 parent e37559c commit 07c2c9b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Main


## v96

* Add support for the `DISABLE_DEPENDENCY_CLASSPATH_LOG` environment variable to disable the dependency classpath log.

## v95

* Only provision Heroku Postgres if the app declares a dependency on one of the following postgres drivers:
Expand Down
4 changes: 3 additions & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,9 @@ fi
# build app
run_sbt "$javaVersion" "$SBT_USER_HOME_ABSOLUTE" "$SBT_BINDIR/$SBT_JAR" "$SBT_TASKS"

write_sbt_dependency_classpath_log "$SBT_USER_HOME_ABSOLUTE" "$SBT_BINDIR/$SBT_JAR" "show dependencyClasspath"
if [ -z "${DISABLE_DEPENDENCY_CLASSPATH_LOG:-}" ]; then
write_sbt_dependency_classpath_log "$SBT_USER_HOME_ABSOLUTE" "$SBT_BINDIR/$SBT_JAR" "show dependencyClasspath"
fi

# repack cache
mkdir -p $CACHE_DIR
Expand Down

0 comments on commit 07c2c9b

Please sign in to comment.