Skip to content

Commit

Permalink
Implement the workaround for scala/scala-dev#249
Browse files Browse the repository at this point in the history
  • Loading branch information
farmdawgnation committed Dec 23, 2016
1 parent e2552c6 commit c3b51cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion travis.sh
Expand Up @@ -10,7 +10,9 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
mkdir -p ~/.sbt/0.13/
openssl aes-256-cbc -K $encrypted_a177bbd76133_key -iv $encrypted_a177bbd76133_iv -in .credentials.enc -out ~/.sbt/0.13/.credentials -d

sbt ++$TRAVIS_SCALA_VERSION publish
# Include the no-java-comments work-around so that publishing for Scala 2.12 will work correctly.
# See: https://github.com/scala/scala-dev/issues/249
sbt ++$TRAVIS_SCALA_VERSION "set scalacOptions in (Compile, doc) += \"-no-java-comments\"" publish

rm ~/.sbt/0.13/.credentials
fi

0 comments on commit c3b51cc

Please sign in to comment.