Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch leastVersion.
Configuration:
install jdk 11.0
gradle 8.10
run command: ./gradlew -Druntime.java=11
Error
FAILURE: Build failed with an exception.
- What went wrong:
Task ‘…’ not found in root project ‘OpenSearch’ and its subprojects.
Detail Error:
2024-08-18T23:22:13.211+0800 [LIFECYCLE] [org.gradle.internal.buildevents.TaskExecutionStatisticsReporter] 8 actionable tasks: 8 up-to-date
2024-08-18T23:22:13.212+0800 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation ‘Build finished for file system watching’ started
2024-08-18T23:22:13.217+0800 [INFO] [org.gradle.internal.watch.registry.impl.HierarchicalFileWatcherUpdater] Watched directory hierarchies: [D:\project\OpenSearch]
2024-08-18T23:22:13.208+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2024-08-18T23:22:13.209+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
2024-08-18T23:22:13.209+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2024-08-18T23:22:13.209+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
2024-08-18T23:22:13.209+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Task ‘…’ not found in root project ‘OpenSearch’ and its subprojects.
2024-08-18T23:22:13.209+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2024-08-18T23:22:13.209+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
2024-08-18T23:22:13.210+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run gradle tasks to get a list of available tasks.
2024-08-18T23:22:13.210+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > For more on name expansion, please refer to Command-Line Interface Reference in the Gradle documentation.
2024-08-18T23:22:13.210+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --stacktrace option to get the stack trace.
2024-08-18T23:22:13.210+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Get more help at https://help.gradle.org.
2024-08-18T23:22:13.210+0800 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger]
2024-08-18T23:22:13.210+0800 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 1m 11s
2024-08-18T23:22:13.221+0800 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation ‘Build finished for file system watching’
2024-08-18T23:22:13.221+0800 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation ‘Build finished for file system watching’ completed