Skip to content

Commit

Permalink
Update build.gradle.kts to use implementation scope (#42)
Browse files Browse the repository at this point in the history
Signed-off-by: Mital Awachat <[email protected]>

Co-authored-by: Mital Awachat <[email protected]>
  • Loading branch information
mitalawachat and mitalawachat authored Oct 11, 2021
1 parent 6bda960 commit b6b8447
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ 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: Run Integration Test
run: ./gradlew clean integrationTest
continue-on-error: true
- name: Build with Gradle
run: ./gradlew clean build -x test
11 changes: 4 additions & 7 deletions java-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,15 @@ 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
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")

// Eclipse 1.0
testImplementation("junit", "junit" , "4.12") {
Expand Down

0 comments on commit b6b8447

Please sign in to comment.