Skip to content

Commit

Permalink
Switch off Coursier when running paradox
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru committed Oct 17, 2019
1 parent 2f8c3c1 commit 9cafbb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ jobs:
- stage: publish
env: CMD="+publish"
name: "Publish artifacts for all Scala versions"
- script: openssl aes-256-cbc -K $encrypted_d80875c2ae41_key -iv $encrypted_d80875c2ae41_iv -in .travis/travis_alpakka_kafka_rsa.enc -out .travis/id_rsa -d && eval "$(ssh-agent -s)" && chmod 600 .travis/id_rsa && ssh-add .travis/id_rsa && sbt -jvm-opts .jvmopts-travis '++2.13.1 docs/publishRsync'
# switching off Coursier as sbt-dependency-graph does not work correctly with it and is used to create the dependency graphs in the docs https://github.com/jrudolph/sbt-dependency-graph/issues/178
- script: openssl aes-256-cbc -K $encrypted_d80875c2ae41_key -iv $encrypted_d80875c2ae41_iv -in .travis/travis_alpakka_kafka_rsa.enc -out .travis/id_rsa -d && eval "$(ssh-agent -s)" && chmod 600 .travis/id_rsa && ssh-add .travis/id_rsa && sbt -jvm-opts .jvmopts-travis '++2.13.1 ;set ThisBuild / useCoursier := false ;docs/publishRsync'
name: "Publish API and reference documentation"

stages:
Expand Down
5 changes: 4 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ TaskKey[Unit]("verifyCodeStyle") := {
}
}

addCommandAlias("verifyDocs", ";+doc ;unidoc ;docs/paradox")
// switching off Coursier as sbt-dependency-graph does not work correctly with it
// and is used to create the dependency graphs in the docs
// https://github.com/jrudolph/sbt-dependency-graph/issues/178
addCommandAlias("verifyDocs", ";set ThisBuild / useCoursier := false ;+doc ;unidoc ;docs/paradoxBrowse")

val commonSettings = Def.settings(
organization := "com.typesafe.akka",
Expand Down

0 comments on commit 9cafbb1

Please sign in to comment.