Comments (6)
@FibreFoX Hi, thanks for the follow up. Not for now. I decided to run the jar task manually for each project since I am a bit short in time, although when I have more time I will investigate how to automate this, and I will post here the followup
from javafx-gradle-plugin.
You might need to adjust the order of the projects depending on each other. To avoid some misconfiguration, please use afterEvaluate { project -> }
as this plugin does change the jfx-tasks after the project got evaluated. (This was done because of detecting missing jfx-classes)
from javafx-gradle-plugin.
Thank you very much for you fast response. I am not very experienced in gradle, so if it isn't a problem for you, could you explain a bit more what you mean with "adjust the order of the projects" and how should I use afterEvaluate { project -> }
?
What I had in mind is craete a task that runs before jfx, but I am not sure how to accomplish this and also when I add any dependsOn to the jfx task it says that it can't find the task it should depend to
from javafx-gradle-plugin.
Aditionally, what do you mean with "detecting missing jfx-classes"? What kind of classes could be missing, for example custom components?
from javafx-gradle-plugin.
Gradle maintains it's own order of processing your build-instructions. As they (the authors of Gradle) think that they do know better, they are giving you a way for controlling the ordering, you might want to lookup this inside the documentation: https://docs.gradle.org/current/userguide/build_lifecycle.html
Regarding the detection: when a java class gets instanciated, all import
-instructions are getting resolved, but when working with OpenJDK, you are missing the JavaFX-parts (as they are not part of the main-standard). The so called OracleJDK
(the JDK which is distributed by Oracle itself) does contain the core JDK + the JavaFX addendum part (they will change this with JDK11 again).
So in order to have the tasks being available as buildscript extensions, I rewrote some parts after that evaluation-process happened,, but changed that approach in later versions of this plugin, because it made a lot of trouble.
Just a small reminder: #119
This plugin will get replaced by a different plugin (I really hope to have this prior JDK11 .... but personal life makes it very hard to get time for this)
from javafx-gradle-plugin.
@frnusmartobjects any progress on your side?
from javafx-gradle-plugin.
Related Issues (20)
- StackOverflow when running jfxJar and jfxRun HOT 1
- Smart way to make multiple builds ? HOT 1
- Icon is not picked up HOT 11
- Deb package throws "ValidatorException: No trusted certificate found" HOT 6
- Initial build on NetBeans fails. HOT 11
- Java 10 jvmArgs not working HOT 1
- Javafx native app not working on Windows x32 HOT 2
- Debian bundler prefix installation directory HOT 3
- Adding additional configuration folder
- Finder got an error: Canβt get disk (-1728) HOT 2
- Fix Deprecation warnings HOT 1
- Execute codesign with force flag
- Java 11 Support HOT 2
- Add support for gradle java-library & its fine grained scopes
- jfxNative problem with openJDK HOT 9
- Make it compatible with Gradle 6.0 in future release HOT 6
- Multi project application - icon is not used HOT 4
- Current InnoSetup on Windows is incompatible with the default .iss file MinVersion value HOT 3
- Couldn't find Ant-JavaFX library HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javafx-gradle-plugin.