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

Feature Request: Add Gradle Support #86

Open
JJTech0130 opened this issue Nov 5, 2021 · 2 comments
Open

Feature Request: Add Gradle Support #86

JJTech0130 opened this issue Nov 5, 2021 · 2 comments

Comments

@JJTech0130
Copy link
Contributor

Would it be possible to configure this repo with gradle, such that one monolithic repository can build both the production code and the simulator with different targets? I don’t have time to invest in this, but it seems possible and would be a very nice feature to have.

@jkenney2
Copy link
Contributor

jkenney2 commented Nov 5, 2021

Agreed. I've made a couple of attempts with both gradle and maven. I have no experience with those systems, and kept running into errors. Learning about them is on my to-do list. I'll leave this issue open.

@JJTech0130
Copy link
Contributor Author

JJTech0130 commented Nov 5, 2021

I'm working on it, but Java modules are a headache. I might just stick to Java 8 for now and see if that solves it...
[EDIT]: So, I've go a problem: Jamepad doesn't support modules (williamahartman/Jamepad#22), and JavaFX failing mysteriously because the javafx.controllers is not visible, and I can't make it visible without making Jamepad not work because of aforementioned non-support for modules. I'm probably just doing this wrong, but I can't figure out what...
For reference, this is the error I'm getting:

> Task :run FAILED
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.controls not found

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