Skip to content

Instantly share code, notes, and snippets.

@amiracam
Created November 5, 2017 09:54
Show Gist options
  • Save amiracam/c9f999de2210f3a3236b4840bbbcb3b7 to your computer and use it in GitHub Desktop.
Save amiracam/c9f999de2210f3a3236b4840bbbcb3b7 to your computer and use it in GitHub Desktop.
Output for JrubyJar task which utilizes shadow jar plugin
4:52:11 AM: Executing task 'jrubyJar'...
:prepareJRubyJar
if you want to use the executable lock_jars then install ruby-maven gem before using lock_jars
$ gem install ruby-maven -v '~> 3.3.11'
or add it as a development dependency to your Gemfile
gem 'ruby-maven', '~> 3.3.11'
Successfully installed jar-dependencies-0.3.11
1 gem installed
:jrubyJar FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':jrubyJar'.
> Could not create ZIP '/Users/charles/IdeaProjects/JrubyRatpack3/build/libs/JrubyRatpack3-jruby.jar'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 7.638 secs
Cannot cast object 'shadow.org.apache.tools.zip.ZipOutputStream@4dfe4363' with class 'shadow.org.apache.tools.zip.ZipOutputStream' to class 'org.apache.tools.zip.ZipOutputStream'
4:52:18 AM: Task execution finished 'jrubyJar'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment