Skip to content

Commit 486c2e1

Browse files
authored
Updates common-utils version to 1.2 (#77)
* Updates common-utils version to 1.2 and Uses Maven for 1.2 dependencies Signed-off-by: Clay Downs <[email protected]>
1 parent 21b951d commit 486c2e1

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

.github/workflows/ci.yml

+2-13
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,14 @@ jobs:
2525
with:
2626
java-version: ${{ matrix.java }}
2727

28-
# dependencies: OpenSearch
29-
- name: Checkout OpenSearch
30-
uses: actions/checkout@v2
31-
with:
32-
repository: 'opensearch-project/OpenSearch'
33-
path: OpenSearch
34-
ref: '1.1'
35-
- name: Build OpenSearch
36-
working-directory: ./OpenSearch
37-
run: ./gradlew publishToMavenLocal
38-
3928
# common-utils
4029
- name: Build and Test
4130
run: |
42-
./gradlew build -Dopensearch.version=1.1.0-SNAPSHOT
31+
./gradlew build -Dopensearch.version=1.2.0-SNAPSHOT
4332
4433
- name: Publish to Maven Local
4534
run: |
46-
./gradlew publishToMavenLocal -Dopensearch.version=1.1.0-SNAPSHOT
35+
./gradlew publishToMavenLocal -Dopensearch.version=1.2.0-SNAPSHOT
4736
4837
- name: Upload Coverage Report
4938
uses: codecov/codecov-action@v1

build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
buildscript {
1313
ext {
1414
opensearch_group = "org.opensearch"
15-
opensearch_version = System.getProperty("opensearch.version", "1.1.0-SNAPSHOT")
15+
opensearch_version = System.getProperty("opensearch.version", "1.2.0-SNAPSHOT")
1616
kotlin_version = System.getProperty("kotlin.version", "1.4.32")
1717
}
1818

@@ -21,6 +21,7 @@ buildscript {
2121
mavenCentral()
2222
maven { url "https://plugins.gradle.org/m2/" }
2323
jcenter()
24+
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
2425
}
2526

2627
dependencies {
@@ -42,6 +43,7 @@ repositories {
4243
mavenCentral()
4344
maven { url "https://plugins.gradle.org/m2/" }
4445
jcenter()
46+
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
4547
}
4648

4749
ext {

0 commit comments

Comments
 (0)