Skip to content

Instantly share code, notes, and snippets.

@JohnReedLOL
Created December 16, 2019 13:57
Show Gist options
  • Select an option

  • Save JohnReedLOL/290c9098287fd6173294404c214182ac to your computer and use it in GitHub Desktop.

Select an option

Save JohnReedLOL/290c9098287fd6173294404c214182ac to your computer and use it in GitHub Desktop.
Scala pos publish Scala 2.13
$ ~/Downloads/sbt/bin/sbt
[info] Loading global plugins from /Users/john-michaelreed/.sbt/1.0/plugins
[info] Loading settings for project pos-build from plugins.sbt ...
[info] Loading project definition from /Users/john-michaelreed/IdeaProjects/pos/project
[info] Loading settings for project pos from build.sbt ...
[info] Set current project to pos (in build file:/Users/john-michaelreed/IdeaProjects/pos/)
[info] sbt server started at local:///Users/john-michaelreed/.sbt/1.0/server/8870c47420c1d00dac8f/sock
sbt:pos> compile
[success] Total time: 1 s, completed Dec 16, 2019, 8:54:17 AM
sbt:pos> package
[info] Packaging /Users/john-michaelreed/IdeaProjects/pos/target/scala-2.13/pos_2.13-2.2.0.jar ...
[info] Done packaging.
[success] Total time: 0 s, completed Dec 16, 2019, 8:54:20 AM
sbt:pos> publish
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.netty.util.internal.ByteBufferUtil (file:/Users/john-michaelreed/.ivy2/cache/io.netty/netty/bundles/netty-3.10.0.Final.jar) to method java.nio.DirectByteBuffer.cleaner()
WARNING: Please consider reporting this to the maintainers of org.jboss.netty.util.internal.ByteBufferUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[info] Packaging /Users/john-michaelreed/IdeaProjects/pos/target/scala-2.13/pos_2.13-2.2.0-sources.jar ...
[info] Done packaging.
[info] Main Scala API documentation to /Users/john-michaelreed/IdeaProjects/pos/target/scala-2.13/api...
[info] Wrote /Users/john-michaelreed/IdeaProjects/pos/target/scala-2.13/pos_2.13-2.2.0.pom
[warn] /Users/john-michaelreed/IdeaProjects/pos/src/main/scala/com/github/johnreedlol/internal/Helpers.scala:32:27: The unicode arrow `⇒` is deprecated, use `=>` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
[warn] case NoPosition ⇒ Int.MaxValue
[warn] ^
[warn] /Users/john-michaelreed/IdeaProjects/pos/src/main/scala/com/github/johnreedlol/internal/Helpers.scala:34:18: The unicode arrow `⇒` is deprecated, use `=>` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
[warn] case p ⇒ p.start
[warn] ^
[warn] /Users/john-michaelreed/IdeaProjects/pos/src/main/scala/com/github/johnreedlol/internal/Helpers.scala:39:29: Unused import
[warn] import scala.language.existentials
[warn] ^
[warn] /Users/john-michaelreed/IdeaProjects/pos/src/main/scala/com/github/johnreedlol/package.scala:19:36: Unused import
[warn] import scala.language.experimental.macros
[warn] ^
[warn] /Users/john-michaelreed/IdeaProjects/pos/src/main/scala/com/github/johnreedlol/package.scala:104:25: Unused import
[warn] import scala.language.existentials // MacroHelperMethod uses the existential type feature
[warn] ^
model contains 19 documentable templates
[warn] 5 warnings found
[info] Main Scala API documentation successful.
[info] Packaging /Users/john-michaelreed/IdeaProjects/pos/target/scala-2.13/pos_2.13-2.2.0-javadoc.jar ...
[info] Done packaging.
[info] published pos_2.13 to https://api.bintray.com/maven/johnreed2/maven/maven/com/github/johnreedlol/pos_2.13/2.2.0/pos_2.13-2.2.0.pom
[info] published pos_2.13 to https://api.bintray.com/maven/johnreed2/maven/maven/com/github/johnreedlol/pos_2.13/2.2.0/pos_2.13-2.2.0.jar
[info] published pos_2.13 to https://api.bintray.com/maven/johnreed2/maven/maven/com/github/johnreedlol/pos_2.13/2.2.0/pos_2.13-2.2.0-sources.jar
[info] published pos_2.13 to https://api.bintray.com/maven/johnreed2/maven/maven/com/github/johnreedlol/pos_2.13/2.2.0/pos_2.13-2.2.0-javadoc.jar
[info] johnreed2/pos@2.2.0 was released
[success] Total time: 28 s, completed Dec 16, 2019, 8:55:00 AM
sbt:pos> exit
[info] shutting down server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment