-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Update gradle from 5.3 to 6.1 in order to build with JDK 13 installed #18289
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
Conversation
@tebeco thanks for this contribution! I want to raise one bit of complication here. Since binary files are very hard to diff, there are naturally some extra concerns when taking an external contribution containing them. You're a past contributor and I certainly don't expect anything suspect here, but we do need to take some extra care. Also, we need to do some extra validation to ensure that this will work with the rest of our build system and produce correct packages (with accurate version numbers, etc.; since I know we've done some customization there). Just raising those as points of information since they may add some delay to getting this in. Perhaps there's a way we can force the build to use a pre-13 version of the JDK even if 13 is installed as a stop-gap? |
@anurse I'm fine with that EDIT : no worry about waiting ;) thx a lot for the info ^^ it's nice to be informed about potential delay ;) |
well why not, to be honest here is how i ended up seeing it: i just installed the latest JDK (from OpenJdk IIRC) nothing more while trying to update msgpack i saw that i could not run i'm not a java developer so i probably can't help much more than this PR :D |
(rebased on master to kick the build) |
(thx for the bump to 6.1) |
Thanks @tebeco ! |
(Changed the title to 6.1 if anyone list the PR in github) |
Summary of the changes (Less than 80 chars)
Gradle 5.3
does not seem to be compliant withJDK 13
Update
Gradleto
6.0`SignalR
during another PR as i already hadJDK 13
installedAddresses #18287
I'm not familiar with etiher
Java
orGradle
, I tried to follow the documentation here and hereHere is what I ended up doing :
gradle
on my laptop / UpdatePATH
(%GRADLE_HOME%=path/to/gradle
andPATH = %GRADLE_HOME%\bin;%PATH%
)gradle wrapper --gradle-version=6.0.1 --distribution-type=bin
(because previousdistributionUrl
was pointing to thebin
one)FAILED :
enableFeaturePreview('IMPROVED_POM_SUPPORT')
fromsettings.gradle
:SUCESS :