-
Notifications
You must be signed in to change notification settings - Fork 59
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
Plugin doesn't bundle runtime dependencies into app/lib/ #15
Comments
If you have this set: bundleArguments = [
// dont bundle JRE (not recommended, but increases build-size/-speed)
runtime: null
] It will not bundle the runtime - I have that removed from my build and it works fine. |
@sleonidy Will have to take a look :) |
I didn't set this option(Cause I want jre to be bundled), what I mean is: |
@sleonidy I'm already seeing your issue, will have to take a look how to fix this and why it's there @purringpigeon the issue is about runtime-dependency, not the runtime itself 😄 |
@sleonidy Might have found the confusion here: Will have to take a look into the maven-plugin if it is possible to add something for runtime-dependencies too. Quick workaround: dependencies {
compile 'org.slf4j:slf4j-api:1.7.16'
testCompile group: 'junit', name: 'junit', version: '4.11'
} |
@sleonidy Hi, I've checked the javafx-maven-plugin for this behaviour, seems that this is a real bug ;) thanks for finding this. I will create a quick fix and will report back when having something for you. |
@sleonidy could you try with version buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
classpath group: 'de.dynamicfiles.projects.gradle.plugins', name: 'javafx-gradle-plugin', version: '8.4.1-SNAPSHOT'
}
} |
It is working . |
@sleonidy just to make sure, you used the new version instead of switching "runtime" to "compile", right? The new 8.4.1 should be available through maven-central in the next few days. |
Yes. I've checked that "runtime" dependencies are copied to app/lib folder . |
I have created sample project for demonstrating the issue
javafxplugin.zip
The text was updated successfully, but these errors were encountered: