Skip to content

Mark non-native dependencies as "provided"

Pre-release
Pre-release
Compare
Choose a tag to compare
@muuki88 muuki88 released this 09 Jan 19:50
· 653 commits to master since this release

JDeb & Spotify-Docker marked as "provided"

We marked both dependencies as provided to avoid unnecessary dependencies you either need nor want.
Both introduced issues with logging on the sbt-level as well.

Migration

If you used either the JDebPackaging or DockerSpotifyClientPlugin autoplugins you need to add the dependencies your self. In your plugins.sbt add the following

// if you use JDeb
libraryDependencies += "org.vafer" % "jdeb" % "1.3" artifacts (Artifact("jdeb", "jar", "jar"))

// if you use Spotify Docker
libraryDependencies += "com.spotify" % "docker-client" % "3.2.1"

Proguard documentation

@mikebridge added documentation on how to use sbt-proguard along with sbt-assembly
and sbt-native-packager

http://www.scala-sbt.org/sbt-native-packager/topics/custom.html#proguard

Commits and the issues they fixed since v1.1.0-M1

Issue(s) Commit Message

Pull requests since v1.1.0-M1

Pull Request(s) Commit Message
#719 852e4b4 Mark docker and jdeb as provided dependenciesMark docker and jdeb as provided d
#720 409497a Adding ant dependency for jdkpackager builds. Follow up to #719Adding ant depen
#721 21ad738 Add Proguard example to Custom Package Format documentationAdd Proguard example

A big thank you to all the contributors!

# Author
9 Nepomuk Seiler
2 Mike Bridge