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

gradle plugin doesn't generate and include project jar #17

Closed
frosch95 opened this issue Jul 27, 2016 · 6 comments
Closed

gradle plugin doesn't generate and include project jar #17

frosch95 opened this issue Jul 27, 2016 · 6 comments

Comments

@frosch95
Copy link

Hi,

I tried to get the gradle plugin work with my project, but it seems that the project jar isn't build and included. Only the dependencies are so I always get a ClassNotFoundException.

My gradle build file can be found here: https://github.com/frosch95/SmartCSV.fx/blob/fxlauncher/build.gradle

Thanks for your help.

Best regards,
Andi

@edvin
Copy link
Owner

edvin commented Jul 27, 2016

Hi Andreas,

Thanks for reporting this. I can confirm that I see the same thing, and I'll look into this ASAP. I'm having a bit of a weird week with little computer time, so it might take me some days before I get back to you.

edvin pushed a commit to edvin/fxlauncher-gradle-plugin that referenced this issue Jul 27, 2016
@edvin
Copy link
Owner

edvin commented Jul 27, 2016

I found what I did wrong and published version 1.0.11.1, it should be in Maven Central within the hour. Will you try it out and tell me how it went?

@frosch95
Copy link
Author

Thx for the fast response. Could it be that the version number of fxlauncher and the gradle plugin has to be in sync?
I get the following error:

Could not find no.tornado:fxlauncher:1.0.11.1.
Searched in the following locations:
https://repo1.maven.org/maven2/no/tornado/fxlauncher/1.0.11.1/fxlauncher-1.0.11.1.pom
https://repo1.maven.org/maven2/no/tornado/fxlauncher/1.0.11.1/fxlauncher-1.0.11.1.jar
https://jcenter.bintray.com/no/tornado/fxlauncher/1.0.11.1/fxlauncher-1.0.11.1.pom
https://jcenter.bintray.com/no/tornado/fxlauncher/1.0.11.1/fxlauncher-1.0.11.1.jar

@edvin
Copy link
Owner

edvin commented Jul 28, 2016

I'm so sorry, I made another stupid mistake and updated the fxlauncher dependency version as well. Gradle is very new to me :) I'm pushing 1.0.11.2 to Maven Central now. This version will be looking for fxlauncher 1.0.11.

Give it an hour and try again, OK?

edvin pushed a commit to edvin/fxlauncher-gradle-plugin that referenced this issue Jul 28, 2016
@frosch95
Copy link
Author

Excellent! The application jar is in the fxlauncher directory and the ClassNotFoundException is gone.
I have some other issues, I will post separately :-)

Thanks for your fast help!

@edvin
Copy link
Owner

edvin commented Jul 28, 2016

Tthank you! You're probably the first user of the Gradle plugin, so anything you can contribute to make this more (or at all) useful is greatly appreciated.

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

No branches or pull requests

2 participants