-
Notifications
You must be signed in to change notification settings - Fork 342
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
[Build] A fresh clone tries to download JDKs for every platform #6434
Comments
Sounds like we need to move some things around. |
I can contribute into this issue, that today (in 2022) the file build.gradle tries to load JDK that doesn't even exist:
I don't know, if we are ready for Java 17 (see PR #6727), but I can try to prepare a PR-fix for this issue. |
#6727 is in theory sorting this out |
@karianna do you know, if your PR will be ever approved? |
:-D - A very fair question. I'm still battling the Gradle build here locally as it doesn't always place the JavaFX module components in the target uber JAR binaries. If your'e a Gradle expert then I'd love to pair on it. |
Describe the bug
I want to build the sources on Linux. I clone the project, and then execute
./gradle tasks
to see which build tasks are available. This results in the build script immediately trying to download at least one large JDK for multiple platforms.To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/PCGen/pcgen
cd pcgen
./gradlew tasks
Expected behavior
Let me use the JDK I already have. 😄
I understand why you want to download JDKs for each platform; I do the same myself when producing application distributions. I think you may be executing the download tasks too eagerly, however...
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: