Skip to content

Commit

Permalink
RestIntegTestTask fails because of missed log4j-core dependency (#1815)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta committed Dec 28, 2021
1 parent 01e1b94 commit 65813b8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ static void setupDependencies(Project project, SourceSet sourceSet) {
} 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")
);
}

}
Expand Down

0 comments on commit 65813b8

Please sign in to comment.