Skip to content

Commit

Permalink
Update opensearch dependencies (client/test-framework) to use publish…
Browse files Browse the repository at this point in the history
…ed dependencies (opensearch-project#36)

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 0e474f7 commit 411dc84
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ jobs:
with:
java-version: '14'
distribution: 'adopt'
- name: Checkout OpenSearch
uses: actions/checkout@v2
with:
repository: 'opensearch-project/OpenSearch'
path: OpenSearch
ref: '1.0.0'
- name: Build OpenSearch
working-directory: ./OpenSearch
run: ./gradlew publishToMavenLocal
- name: Checkout Branch
uses: actions/checkout@v2
- name: Run Docker
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/checkstyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,7 @@ jobs:
with:
java-version: '14'
distribution: 'adopt'
- name: Checkout OpenSearch
uses: actions/checkout@v2
with:
repository: 'opensearch-project/OpenSearch'
path: OpenSearch
ref: '1.0.0'
- name: Build OpenSearch
working-directory: ./OpenSearch
run: ./gradlew publishToMavenLocal

- uses: actions/checkout@v2

- name: Check style and license headers
run: |
./gradlew checkstyleMain checkstyleTest
2 changes: 1 addition & 1 deletion java-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ dependencies {

// Apache 2.0
implementation("org.opensearch.client", "opensearch-rest-client", opensearchVersion)
implementation("org.opensearch.test", "framework", opensearchVersion)
testImplementation("org.opensearch.test", "framework", opensearchVersion)

// Apache 2.0
// https://search.maven.org/artifact/com.google.code.findbugs/jsr305
Expand Down

0 comments on commit 411dc84

Please sign in to comment.