-
Notifications
You must be signed in to change notification settings - Fork 414
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
Optionally disable loading gradle from gradle wrapper (request) #875
Optionally disable loading gradle from gradle wrapper (request) #875
Comments
Shouldn't be too difficult to implement |
maybe also "java.gradlePath" ?! |
//i'm edited comment |
gradle path can be specified in "${opened folder}/.settings/org.eclipse.buildship.core.prefs", in line |
@SupinePandora43 you can try the following property:
|
@snjeza i don't need that, i configured gradle java home in gradle.properties, gradle path (WRAPPER) in .pref file. because minecraft forge dont support versions newer gradle 4.9, java 10. i'm got jdk 12 and jdk 8, gradle 5.2.1 and 4.9.0 |
It would be nice to be able to either optionally disable loading gradle from the gradle wrapper and always using system gradle (if higher then 2.6) so in cases where the gradle project is using a wrapper with a version < 2.6 the java plugin can still function.
Environment
Steps To Reproduce
Current Result
Can't use downstream plugins (checkstyle/run tests)
Wanted Result
Redhat plugin can optionally use system gradle always to at least allow some functionality on gradle 1.12 projects that use the wrapper
Additional Informations
I found this out while initially developing a project where it did not have the gradle wrapper with my gradle 5 system gradle version. I was able to run/debug tests and use checkstyle with no problems. I then added the wrapper, to find that afterwards i could not do either of these things because my gradle version (in the wrapper) was too low.
The text was updated successfully, but these errors were encountered: