-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cannot compile/run with the new 'configurations' property #149
Comments
Yes, I am unable to reproduce the issue you are facing with Have you tried compiling via the terminal? This looks like an IDE cache issue. |
Unfortunately I have the same issue if I use the Gradle Wrapper: Running
To make things even more weird, the fact that JavaFX modules are correctly added for the test environment, lol what's going on haha |
I don't see an issue with the following configurations:
Running
|
We ran into the same issue as @palexdev with gradle 7.6.1 and 8.1.1. Adding |
It would be nice to have a test project where the behavior can be reproduced. |
It's as simple as modifying your example and use the java-library instead of the application plugin:
Running |
Hey @abhinayagarwal, I finally had some time to test the plugin with the recent changes. Seems like there are still issues.
If I use the configuration shown here in the README:
configurations = [ 'implementation', 'testImplementation' ]
I have this situation:
If I use:
configurations = [ 'compileOnly', 'testImplementation' ]
I can compile, no more errors in the IDE, but when I run the application:
The only configuration that allows me to compile and run is:
configurations = [ 'compileOnly', 'runtimeOnly', 'testImplementation' ]
However, shouldn't
implementation
cover both of them? Am I doing something wrong?The text was updated successfully, but these errors were encountered: