Skip to content

Commit

Permalink
[Gradle] Enable stable configuration cache preview (elastic#119382)
Browse files Browse the repository at this point in the history
The STABLE_CONFIGURATION_CACHE feature flag enables the following:

- tasks using a shared build service without declaring the requirement via the Task.usesService method will emit a deprecation warning.
- when the configuration cache is not enabled but the feature flag is present, deprecations for the following configuration cache requirements are also enabled:
    - Registering build listeners
    - Using task extensions and conventions at execution time
  • Loading branch information
breskeby authored Dec 31, 2024
1 parent f028340 commit 80f147c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ plugins {
id 'elasticsearch.java-toolchain'
}

enableFeaturePreview "STABLE_CONFIGURATION_CACHE"

rootProject.name = "elasticsearch"

dependencyResolutionManagement {
Expand Down

0 comments on commit 80f147c

Please sign in to comment.