Skip to content

Commit

Permalink
Replaced implementation() by api() for opensearch libs (opensearch-pr…
Browse files Browse the repository at this point in the history
…oject#745)

* replaced implementation() by api() for opensearch libs

Signed-off-by: Daulet Nassipkali <[email protected]>

* returned one to implementation()

Signed-off-by: Daulet Nassipkali <[email protected]>

---------

Signed-off-by: Daulet Nassipkali <[email protected]>
  • Loading branch information
nassipkali authored and dbwiddis committed May 9, 2023
1 parent 396298a commit 8fabbc1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import java.nio.file.Files
import org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestFramework

plugins {
id 'java'
id 'java-library'
id "com.diffplug.spotless" version "6.18.0" apply false
id 'jacoco'
id "com.form.diff-coverage" version "0.9.5"
Expand Down Expand Up @@ -91,13 +91,13 @@ dependencies {
def junitPlatform = "1.9.3"
def jaxbVersion = "2.3.1"

implementation("org.opensearch:opensearch:${opensearchVersion}")
api("org.opensearch:opensearch:${opensearchVersion}")
implementation("org.apache.logging.log4j:log4j-api:${log4jVersion}")
implementation("org.apache.logging.log4j:log4j-core:${log4jVersion}")
implementation("org.apache.logging.log4j:log4j-jul:${log4jVersion}")
implementation("org.opensearch.client:opensearch-rest-high-level-client:${opensearchVersion}")
implementation("org.opensearch.client:opensearch-rest-client:${opensearchVersion}")
implementation("org.opensearch.client:opensearch-java:${opensearchJavaClientVersion}")
api("org.opensearch.client:opensearch-rest-client:${opensearchVersion}")
api("org.opensearch.client:opensearch-java:${opensearchJavaClientVersion}")
implementation("org.opensearch.plugin:transport-netty4-client:${opensearchVersion}")
implementation("io.netty:netty-all:${nettyVersion}")
testCompileOnly("junit:junit:${junit4Version}") {
Expand Down

0 comments on commit 8fabbc1

Please sign in to comment.