Commit Graph

57 Commits

Author SHA1 Message Date
Ryan Ernst 30d88d3865
Use compiler version for gradle code (#73777)
The minimum compiler version is that which we require a developer to use
when building Elasticsearch. This version is updated as newer versions
of Java are released. In contrast, the minimum runtime version is that
which Elasticsearch itself needs. In 7.x this is Java 8, and in master
this is Java 11. Historically the version we require for gradle code has
had to be the minimum runtime version since all the gradle code was
distributed for plugin developers.

Now that the external build tools is separated from our internal tools,
the internal tools are no longer bound by that runtime requirement.
Instead, they can use the latest Java, so that we can use new features
within our internal tools. This commit switches the source compatibiltiy
version for the internal build tools to use the minimum compiler version.
2021-06-04 14:33:46 -07:00
Rene Groeschke c089d91679
Remove buildSrc directory (#73646)
* Remove buildSrc directory

version properties moved to build-tools-internal and plugin descriptor
moved to build-tools. The docs build has been updated accordingly

* More cleanup
2021-06-03 12:27:23 +02:00
Mark Vieira 7bbd3113fa
Use production-similar GC settings for internal cluster tests (#73701) 2021-06-02 16:12:29 -07:00
Ryan Ernst 8cba213dfc
Explicitly set illegal-access to deny for tests (#72588)
Since Java 16, the default value for illegal-access is deny. This means
the latest release of Elasticsearch, and all current integration tests,
run with deny (since we don't explicitly set it in jvm options). Yet
tests run with illegal-access=warn, for legacy reasons. #71908
proposed to remove the setting from test jvms, but concerns were raised
there about whether this would cause some test failures.

This commit explicitly sets tests to deny. This has the added benefit
that any failures will be caught even when running tests with older
jvms.
2021-06-02 16:09:27 -07:00
Rene Groeschke d06801c503
Fix version.properties after merge 2021-06-01 11:44:06 +02:00
Rene Groeschke 6549c55060
Update version properties after merge 2021-06-01 11:32:36 +02:00
Rene Groeschke b2a183baf0
Move public build api into included build (#72861)
This moves the public build api and plugins into a separete included build called 'build-tools' 
and we removed the duplication of included buildSrc twice (2nd import as build-tools).

The elasticsearch internal build logic is kept in build-tools-internal as included build which allows us better handling of this project that its just being an buildSrc project (e.g. we can reference tasks directly from the root build etc.)

Convention logic applied to both projects will live in a new build-conventions project.
2021-06-01 11:19:30 +02:00