Commit Graph

10 Commits

Author SHA1 Message Date
Rene Groeschke da29bb028f
Avoid configuration time task creation (#76245)
Fix publish plugin
2021-08-11 09:30:51 +02:00
Rene Groeschke b323726ebd
Resolve system properties in build scripts via provider factory (#76199)
This allows tracking system properties used in the build configuration and brings us
one step closer to be gradle configuration cache compliant.
2021-08-09 09:39:30 +02:00
Rene Groeschke 29c7a766a2
Make PublishPlugin gradle configuration cache compliant (#74828)
* Make PublishPlugin gradle configuration cache compliant

for using --configuration-cache we need to remove some usages of the mutable project instance

* Polishing
2021-07-27 12:31:18 -04:00
Rene Groeschke 27d6d51d3c
Remove usage of deprecated JavaPluginConvention (#75106)
this has been deprecated and will be removed in Gradle 8.0. We use
JavaPluginExtension instead from now on.
2021-07-27 11:18:50 -04:00
Rene Groeschke 1ea7e5000e
Fix gradle func tests running in idea (#74811)
* Fix gradle func tests running in idea

* Tweak wrapper task
2021-07-01 05:43:51 -04: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 c59ea7971b
Introduce ElasticsearchJavaBasePlugin to simplify YamlRestTestPlugin (#74411)
just configuring common conventions on java based projects without
adding opinionated sourcesets. Reduces the configuration overhead for
yaml rest test only projects.

In the end we create less tasks and configure less for test only projects.
2021-06-23 11:36:58 +02:00
Mark Vieira 1f1c8b0019
Move custom checkstyle rule implementations to build-conventions project (#74017) 2021-06-10 16:06:44 -07: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
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