How do I set the Guava version from the Gradle command line?
I’d expect
./gradlew -Dguava.version=19.0
to work but it doesn’t.
(We used to test the supported range of Guava versions in CI. Then we stopped
because Gradle. And now it turns out that we’re broken on Gradle < 21.0.)
Julian
I believe you want ./gradlew -Pguava.version=19.0.
James
On Tue, Sep 21, 2021 at 4:09 PM Julian Hyde wrote:
> How do I set the Guava version from the Gradle command line?
>
> I’d expect
>
> ./gradlew -Dguava.version=19.0
>
> to work but it doesn’t.
>
> (We used
va.version=19.0.
>
> James
>
>
> On Tue, Sep 21, 2021 at 4:09 PM Julian Hyde wrote:
>
>> How do I set the Guava version from the Gradle command line?
>>
>> I’d expect
>>
>> ./gradlew -Dguava.version=19.0
>>
>> to work but it doesn’t
+1, let`s make !
For the upcoming release 1.36, the default Guava version (and the
version we compile with) will change from 19.0 to the latest,
32.1.3-jre [1]. (We were on 19.0 because Druid needed to use 19.0, and
due to some API changes in Guava, code compiled on 20 or higher cannot
be run
I've updated the PR to require Guava 21 or higher. See
https://github.com/apache/calcite/pull/3470.
If anyone can't handle Guava 21 please speak up.
On Mon, Oct 16, 2023 at 10:40 PM stanilovsky evgeny
wrote:
>
> +1, let`s make !
>
> > For the upcoming release 1.36,
Julian Hyde created CALCITE-1590:
Summary: Support Guava version 21.0
Key: CALCITE-1590
URL: https://issues.apache.org/jira/browse/CALCITE-1590
Project: Calcite
Issue Type: Bug
Gian Merlino created CALCITE-5428:
-
Summary: Reduce minimum Guava version to 16.0.1.
Key: CALCITE-5428
URL: https://issues.apache.org/jira/browse/CALCITE-5428
Project: Calcite
Issue Type