Skip to content

Commit

Permalink
Update build.gradle.kts to use implementation scope (opensearch-proje…
Browse files Browse the repository at this point in the history
…ct#42)

Co-authored-by: Mital Awachat <awachatm@amazon.com>

Signed-off-by: Mital Awachat <mitalawachat@users.noreply.github.com>
  • Loading branch information
mitalawachat authored and imRishN committed Feb 3, 2022
1 parent f10608a commit ca08b67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
run: |
docker build -t opensearch-search:test -f .ci/opensearch/Dockerfile --build-arg "SECURE_INTEGRATION=true" .
docker run -p 9200:9200 -p 9600:9600 -d -e "discovery.type=single-node" opensearch-search:test
sleep 90
sleep 60
- name: Run Unit Test
run: ./gradlew clean unitTest
continue-on-error: true
- name: Build with Gradle
run: ./gradlew clean build -x test
13 changes: 5 additions & 8 deletions java-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,16 @@ dependencies {

// EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
// http://json-b.net/
compileOnly("jakarta.json.bind", "jakarta.json.bind-api", "2.0.0")
testImplementation("jakarta.json.bind", "jakarta.json.bind-api", "2.0.0")
implementation("jakarta.json.bind", "jakarta.json.bind-api", "2.0.0")

// Apache 2.0
// https://github.com/FasterXML/jackson
compileOnly("com.fasterxml.jackson.core", "jackson-core", jacksonVersion)
compileOnly("com.fasterxml.jackson.core", "jackson-databind", jacksonVersion)
testImplementation("com.fasterxml.jackson.core", "jackson-core", jacksonVersion)
testImplementation("com.fasterxml.jackson.core", "jackson-databind", jacksonVersion)

implementation("com.fasterxml.jackson.core", "jackson-core", jacksonVersion)
implementation("com.fasterxml.jackson.core", "jackson-databind", jacksonVersion)

// EPL-2.0 OR BSD-3-Clause
// https://eclipse-ee4j.github.io/yasson/
testImplementation("org.eclipse", "yasson", "2.0.2")
implementation("org.eclipse", "yasson", "2.0.2")

// https://github.com/classgraph/classgraph
testImplementation("io.github.classgraph:classgraph:4.8.116")
Expand Down

0 comments on commit ca08b67

Please sign in to comment.