javafx-gradle-plugin icon indicating copy to clipboard operation
javafx-gradle-plugin copied to clipboard

Make JavaFx platform configurable

Open shahzaibj opened this issue 4 years ago • 7 comments

This PR Addresses https://github.com/openjfx/javafx-gradle-plugin/issues/99

Platform can now be configured as follows:

image

shahzaibj avatar May 03 '21 04:05 shahzaibj

Thank you for PR. I need this functionality too. But mabye it is good write some lines to README file near section with name "4. Cross-platform projects and libraries".

majerm avatar Jul 15 '21 14:07 majerm

This is good functionality. @jperedadnr can you review?

johanvos avatar Jul 28 '21 07:07 johanvos

@shahzaibj As per our contributions guidelines, could you please sign the CLA[https://cla.gluonhq.com/] before we can move forward with this PR?

jperedadnr avatar Jul 29 '21 08:07 jperedadnr

@shahzaibj As per our contributions guidelines, could you please sign the CLA[https://cla.gluonhq.com/] before we can move forward with this PR?

@shahzaibj : I came here from downstream as an user of the Sparrow wallet, where we're unable to build on Raspberry Pi 4 (arm) because of the JavaFx platform error solely. As @craigraw (the maintainer of sparrow) writes, your/this PR could solve our issues downstream.

As I got the current situation with this PR, the effort to be taken to move forward seems quite low to me: @jperedadnr has requested 3 months ago the singing of the CLA[https://cla.gluonhq.com/] from you.

:question: Could you please decide if you're able to sign the CLA[https://cla.gluonhq.com/] or not and communicate likewise?

:pray: Thanks

alaznem avatar Nov 06 '21 22:11 alaznem

push @shahzaibj

FlorianKirmaier avatar Mar 10 '22 14:03 FlorianKirmaier

... why just one platform, though?

SamB avatar Jul 15 '22 20:07 SamB

I had opened a similar PR to support cross-platform compilation (https://github.com/openjfx/javafx-gradle-plugin/pull/134/commits/050980728d1e23307ba0d717ba4366cfd0404e27). With the current code, I still have an issue with the way the update of the JavaFX libraries are handled. The updateJavaFXDependencies is called multiple times, while you could add a hook to update these libraries, which will run after all the dependencies have been updated by other plugins as well. I would think this would play nicer with other plugins, which would modify the dependency libraries. In my code, I would still want to change the way the platform is forced. Preferably I would still need to extract the split method for the OS detection function, so that I can be reused by the forcedplatform and the normal platform detection methods. Any thoughts? I could really use this functionality in my project.

kristofmoens avatar Sep 18 '22 22:09 kristofmoens

Bump for @shahzaibj on the CLA (this is now almost 2 years open).

tycrek avatar Apr 13 '23 01:04 tycrek

I made a functional identical PR quite some time ago, which also included another feature (configurable platform)

Why not just merge mine, instead of waiting for the CLA here?

I've already signed the CLA.

FlorianKirmaier avatar Apr 17 '23 15:04 FlorianKirmaier

@FlorianKirmaier you mean #137?

johanvos avatar Apr 17 '23 16:04 johanvos

@johanvos Yes, that is the PR I meant!

FlorianKirmaier avatar May 02 '23 19:05 FlorianKirmaier

superseded by #137

abhinayagarwal avatar May 04 '23 08:05 abhinayagarwal