Closed teamon closed 13 years ago
I'm not using the plugin myself at the moment, so it wasn't on the top of my list. But it there is a bit of interest I can make time.
I personally found this plugin the best fit for my needs (simple, ultra-fast, working!). Since I recently switched to sbt 0.10.1 there is a lot of interest :)
I'd be a happy man if this plugin supported sbt 0.10
sbt 0.10 support would be awesome so I do not have to revert new projects I am working on back, +1
I've started work on this, see https://github.com/retronym/sbt-onejar
If you try it out, please provide some feedback here.
I followed the updated instructions for 0.10 on https://github.com/retronym/sbt-onejar
I added project/plugins/plugins.sbt and also the 3 lines.
reload, update, onejar
not working
onejar [error] Not a valid command: onejar [error] Not a valid project ID: onejar [error] Not a valid configuration: onejar [error] Not a valid key: onejar (similar: runner) [error] onejar
Include the settings from com.github.retronym.SbtOneJar.sbtOneJarSettings
<= not sure what this is
Take a look at the test project:
https://github.com/retronym/sbt-onejar/blob/master/src/sbt-test/one-jar/basic
In particular:
https://github.com/retronym/sbt-onejar/blob/master/src/sbt-test/one-jar/basic/build.sbt
Just tried that. Same error.
I also just tried building the basic project (sbt-onejar/src/sbt-test/one-jar/basic). Got an unresolved error
[error] {file:/Users/joestein/sbt-onejar/src/sbt-test/one-jar/basic/project/plugins/}default-d86d15/*:update: sbt.ResolveException: unresolved dependency: com.github.retronym#sbt-onejar_2.8.1;0.3-SNAPSHOT: not found
so then I created project/plugins/plugins.sbt (was not in there) and put the 3 lines into it
reload, update, onejar
and the basic project same issue as in my project
onejar [error] Not a valid command: onejar [error] Not a valid project ID: onejar [error] Not a valid configuration: onejar [error] Not a valid key: onejar (similar: one-jar, one-jar-redist, runner) [error] onejar [error]
I've updated the documentation with the correct task name: one-jar
.
good to go now! awesome! thanks!
I think this is done now.
Is it planned to support sbt 0.10.x ?