RestIntegTestTask fails because of missed log4j-core dependency (#1815)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
This commit is contained in:
Andriy Redko 2021-12-28 14:51:25 -05:00 committed by GitHub
parent 01e1b94e47
commit 65813b8320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -94,6 +94,12 @@ public class RestTestUtil {
} else {
project.getDependencies()
.add(sourceSet.getImplementationConfigurationName(), "org.opensearch.test:framework:" + VersionProperties.getOpenSearch());
// The log4j-core is optional dependency of the org.opensearch.test:framework. needs explicit introduction
project.getDependencies()
.add(
sourceSet.getImplementationConfigurationName(),
"org.apache.logging.log4j:log4j-core:" + VersionProperties.getVersions().get("log4j")
);
}
}