[skara] Integrated: build: use included build instead of buildSrc

Erik Helin ehelin at openjdk.java.net
Wed Feb 10 12:36:47 UTC 2021

On Wed, 10 Feb 2021 10:44:44 GMT, Erik Helin <ehelin at openjdk.org> wrote:

> Hi all,
> please review this small patch that makes the build use "included builds" for Skara's Gradle plugins instead of the "buildSrc" feature of Gradle. The "buildSrc" feature doesn't play nice with Gradle's caching mechanism - any change to a file in the `buildSrc` directory invalidates the build cache. The solution is to just include the plugins using the `includeBuild` feature (the Gradle team is even thinking of making `buildSrc` an implicitly included build, see https://github.com/gradle/gradle/issues/2531).
> Testing:
> - [x] `make images` on Linux x64
> - [x] `make test` on Linux x64
> Thanks,
> Erik

This pull request has now been integrated.

Changeset: de5c089d
Author:    Erik Helin <ehelin at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/de5c089d
Stats:     71 lines in 28 files changed: 32 ins; 27 del; 12 mod

build: use included build instead of buildSrc

Reviewed-by: rwestberg


PR: https://git.openjdk.java.net/skara/pull/1004

More information about the skara-dev mailing list