David Smiley
90e07f6664
gradlew: no "--source 11" ( #13404 )
...
* avoid WrapperDownloader if have the JAR
* don't specify --source
More specific than needed, and some JDK/configs may complain about an incompatibility with --release.
From https://github.com/apache/solr/pull/2419
2024-05-24 18:19:53 -04:00
Uwe Schindler
8f17f23acf
Bump minimum required Java version to 21 ( #12753 )
...
Co-authored-by: ChrisHegarty <chegar999@gmail.com>
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
Co-authored-by: Robert Muir <rmuir@apache.org>
2024-02-29 12:16:29 +01:00
Uwe Schindler
e7d2bd48a6
Revert "Merge branch 'java_21' of https://github.com/ChrisHegarty/lucene into main"
...
This reverts commit a356fc1e23
, reversing
changes made to 7b01f2f516
.
2024-02-29 11:58:40 +01:00
Robert Muir
23ecac438a
java 17 -> java 21
2024-02-09 15:17:46 -05:00
Kevin Risden
30d3eba933
GITHUB#12655: Upgrade to Gradle 8.4
...
See https://github.com/apache/lucene/pull/12650 for details
Closes GITHUB#12655
2023-10-11 16:11:53 -04:00
Uwe Schindler
8564da434d
Generate gradle.properties from gradlew ( #12131 )
...
* SOLR-16641 - Generate gradle.properties from gradlew (#1320 )
* Adapt for Lucene
* Remove localSettings from smoker; thanks @colvinco
* Print properties at end for debugging
* Add CHANGES.txt entry
---------
Co-authored-by: Colvin Cowie <colvin.cowie.dev@gmail.com>
Co-authored-by: Colvin Cowie <51863265+colvinco@users.noreply.github.com>
2023-02-06 19:47:15 +01:00
Dawid Weiss
1f741ff63c
Upgrade gradle to 7.6. ( #11993 )
2022-12-02 09:18:38 +01:00
Dawid Weiss
fa0031bde5
jgit shouldn't fork git to find out the config dir ( #11959 )
...
* Windows part.
* jgit shouldn't fork git to find out the config dir (posix)
Co-authored-by: Robert Muir <rmuir@apache.org>
2022-11-21 17:48:57 +01:00
Robert Muir
8736c18747
Allow building with java 18 now that gradle supports it ( #11889 )
...
* Allow building with java 18 now that gradle supports it
* update the "generic error" in these scripts
2022-10-28 23:41:09 -04:00
Dawid Weiss
2080caff3f
Fix JVM error branch logic. ( #835 )
2022-04-25 14:33:56 +02:00
Robert Muir
c897aac077
fail clearly on too-new JDK ( #819 )
...
Gradle will give a very confusing error, let's make it absolutely clear.
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
2022-04-21 09:22:26 -04:00
Dawid Weiss
780846a732
LUCENE-10198: Allow external JAVA_OPTS in gradlew scripts; use sane defaults (heap, stack and system proxies) ( #405 )
...
Co-authored-by: balmukundblr <balmukund.mandal@intel.com>
2021-10-26 09:15:55 +02:00
Dawid Weiss
3ff4263535
Upgrade gradle to 7.1.1
2021-08-25 10:03:59 +02:00
Uwe Schindler
f37f0bf3a7
Gradle hotfix in preparation for Jenkins: Fix for whitespace in directory violations
2020-08-23 17:51:11 +02:00
Dawid Weiss
581e836569
LUCENE-9471: clean up task and global temporary junk files (workaround). ( #1767 )
2020-08-20 13:49:24 +02:00
Dawid Weiss
793a3becfb
LUCENE-9266: correct windows gradle wrapper download script - wrong placement of the quote.
2020-04-08 12:56:39 +02:00
Mike Drob
9b29c2a420
Support running gradlew from subdir
2020-04-03 15:16:08 -05:00
Mike Drob
e6090792c8
Specify java 11 for gradle wrapper downloader
2020-04-02 13:09:58 -05:00
Mike Drob
e25ab4204f
LUCENE-9266 remove gradle wrapper jar from source
...
ASF Release Policy states that we cannot have binary JAR files checked
in to our source releases, a few other projects have solved this by
modifying their generated gradlew scripts to download a copy of the
wrapper jar.
We now have a version and checksum file in ./gradle/wrapper directory
used for verifying the wrapper jar, and will take advantage of single
source java execution to verify and download.
The gradle wrapper jar will continue to be available in the git
repository, but will be excluded from src tarball generation. This
should not change workflows for any users, since we expect the gradlew
script to get the jar when it is missing.
Co-authored-by: Dawid Weiss <dweiss@apache.org>
2020-04-02 11:30:01 -05:00
Dawid Weiss
22232a66dd
LUCENE-9232: don't fork daemon on the initial run that writes local settings.
2020-02-18 19:38:11 +01:00
Dawid Weiss
401ddc6dd1
Upgrade gradlew. Add environment sanity check.
2019-12-16 15:23:06 +01:00
Dawid Weiss
d4a9842375
Initial gradle build layer.
2019-12-02 15:34:57 +01:00