-
Notifications
You must be signed in to change notification settings - Fork 423
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
PARQUET-1590: Add Java 11 to Travis #136
Conversation
Apparently Gradle 4.4.1 does not support Java 11: https://stackoverflow.com/questions/54358107/gradle-could-not-determine-java-version-from-11-0-2 |
I'm surprised as well. Thrift is still using Gradle 4.x, while master is at 5.x. |
Travis:
That's... interesting... |
Was trying to come up with a workaround, until Thrift 0.13 will be released :-) In the end, right now we're building Thrift 0.12 from scratch, but it should preferred to pull in the binaries instead. |
I'm officially confused:
Since the |
That feels weird indeed. I think the explanation is somewhere here: https://docs.gradle.org/current/userguide/gradle_wrapper.html#customizing_wrapper With the configuration in place running I think the distributionUrl is being overridden by the earlier |
It just keeps getting better and better:
|
I think I solved the mystery. From a clean state:
It seems to me that these options only have an effect of the next command, but not the current one. They set the URL that is located in the |
@zivanfi This makes perfect sense. Also in the CI, we see that it first runs the current version, and then it tries to upgrade/set the new version. |
Do you see any way to make this work? |
Yes, I found a way. We don't need to compile the Java stuff actually, because maven will just pull this from maven central. Therefore we don't need gradle :-) |
https://jira.apache.org/jira/browse/PARQUET-1499
https://jira.apache.org/jira/browse/PARQUET-1590
Depends on #133