Skip to content

Commit bb66741

Browse files
authored
[Gradle] Enable stable configuration cache preview (#119382) (#119407)
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
1 parent 7566e32 commit bb66741

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

settings.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ plugins {
1818
id 'elasticsearch.java-toolchain'
1919
}
2020

21+
enableFeaturePreview "STABLE_CONFIGURATION_CACHE"
22+
2123
rootProject.name = "elasticsearch"
2224

2325
dependencyResolutionManagement {

0 commit comments

Comments
 (0)