Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MavenCapsule fails to configure with a file dependency #7

Closed
gaborbernat opened this issue Mar 26, 2015 · 3 comments
Closed

MavenCapsule fails to configure with a file dependency #7

gaborbernat opened this issue Mar 26, 2015 · 3 comments
Milestone

Comments

@gaborbernat
Copy link

No signature of method: us.kirchmeier.capsule.manifest.CapsuleManifest.formatModuleDependency() is applicable for argument types: (org.gradle.api.internal.artifacts.dependencies.DefaultSelfResolvingDependency_Decorated) values: [org.gradle.api.internal.artifacts.dependencies.DefaultSelfResolvingDependency_Decorated@433edba9]

At configuration phase I get, any ideas what's wrong? Using Gradle 2.3.

mainClassName = "something"
task slimCapsule(type: MavenCapsule, group: 'that'){
applicationClass mainClassName
}

@gaborbernat
Copy link
Author

So, I found the problem, I had a file dependency:

compile files('lib/upnp.jar')

:)

It's logic it's not supported, but should be better message provided :)

@danthegoodman danthegoodman changed the title Mavencapsule fails to configure MavenCapsule fails to configure with a file dependency Mar 26, 2015
@danthegoodman
Copy link
Owner

Good idea! I think I'll try and make file based dependencies included in the capsule (fat style). If that's not possible, I'll at least improve the error message.

@danthegoodman
Copy link
Owner

@gaborbernat A MavenCapsule can now handle file dependencies. Thanks for reporting the issue! 😄

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

No branches or pull requests

2 participants