Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Deprecation warnings in sbt build definition #75

Open
gkossakowski opened this issue Feb 10, 2015 · 0 comments
Open

Deprecation warnings in sbt build definition #75

gkossakowski opened this issue Feb 10, 2015 · 0 comments

Comments

@gkossakowski
Copy link
Contributor

With latest master, here's what I get:

> reload plugins
[info] Loading global plugins from /Users/grek/.sbt/0.13/plugins
[info] Loading project definition from /Users/grek/scala/zinc/project
> printWarnings
[info] Updating {file:/Users/grek/scala/zinc/project/}project...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[warn] /Users/grek/scala/zinc/project/Scriptit.scala:31: method apply in object InputTask is deprecated: Use another InputTask constructor or the `Def.inputTask` macro.
[warn]   def scriptitTask = InputTask((scriptitBase, scriptitTestName)((dir, name) => (s: State) => scriptitParser(dir, name))) { input =>
[warn]                      ^
[warn] /Users/grek/scala/zinc/project/Scriptit.scala:77: method binaryVersion in object CrossVersion is deprecated: Use CrossVersion.scalaApiVersion or CrossVersion.sbtApiVersion
[warn]       val binaryVersion = CrossVersion.binaryVersion(version, "")
[warn]                                        ^
[warn] /Users/grek/scala/zinc/project/Scriptit.scala:81: method libraryJar in trait ScalaProvider is deprecated: see corresponding Javadoc for more information.
[warn]         property("library") -> provider.libraryJar.getAbsolutePath,
[warn]                                         ^
[warn] /Users/grek/scala/zinc/project/Scriptit.scala:82: method compilerJar in trait ScalaProvider is deprecated: see corresponding Javadoc for more information.
[warn]         property("compiler") -> provider.compilerJar.getAbsolutePath,
[warn]                                          ^
[warn] /Users/grek/scala/zinc/project/Scriptit.scala:83: method libraryJar in trait ScalaProvider is deprecated: see corresponding Javadoc for more information.
[warn]         property("extra") -> Path.makeString((provider.jars.toSet - provider.libraryJar - provider.compilerJar).toSeq),
[warn]                                                                              ^
[warn] /Users/grek/scala/zinc/project/Scriptit.scala:83: method compilerJar in trait ScalaProvider is deprecated: see corresponding Javadoc for more information.
[warn]         property("extra") -> Path.makeString((provider.jars.toSet - provider.libraryJar - provider.compilerJar).toSeq),
[warn]                                                                                                    ^
[warn] /Users/grek/scala/zinc/project/Scriptit.scala:85: method libraryJar in trait ScalaProvider is deprecated: see corresponding Javadoc for more information.
[warn]         property("home") -> provider.libraryJar.getParentFile.getParentFile.getAbsolutePath
[warn]                                      ^

It would be great to get rid of them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant