Commit Graph

10 Commits

Author SHA1 Message Date
Rory Hunter f34d9adc49
New release notes generator tasks (#71125)
Part of #67335.

Add tasks for generating release notes, using information stored in files
in the repository:

   * `generateReleaseNotes` - generates new release notes, release
     highlights and breaking changes
   * `validateChangelogs` - validates that all the changelog YAML files are
     well-formed (confirm to schema, have required fields depending on the
     `type` value)

I also changed `Version` to allow a `v` prefix in relaxed mode
2021-07-28 12:09:58 +01:00
Mark Vieira a02e73245e
Clean up build tools dependencies and fix maven coordinates (#74520) 2021-06-24 08:55:21 -07:00
Mark Vieira 17c7c8f6a2
Improve error message when minimum compiler version is not met (#74512) 2021-06-24 08:46:09 -07:00
Rene Groeschke 7df3771a2c
Simplify applying build tools conventions (#73877)
Share common conventions for build tools in one plugin.
e.g. we always apply the license headers check for build tools too
2021-06-23 11:44:49 +02:00
Rene Groeschke a420da886a
Revert "Fix java compatibility for build-tools-internal (#73897)"
This reverts commit e65577284b.
2021-06-08 17:27:19 +02:00
Rene Groeschke e65577284b
Fix java compatibility for build-tools-internal (#73897)
This was accidentally set to 15.

should be 11 not 15 taken from the minimumRuntimeVersion file and not from minimumCompilerVersion
this also fixes the checkstyle ides setup
2021-06-08 16:00:36 +02:00
Rene Groeschke 6ff0b1b56a
Fix eclipse for build tools (#73699)
apply common eclipse config to all projects across the elasticsearch workspace 
including build tools projects
2021-06-08 15:26:21 +02:00
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
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