Skip to content

Commit

Permalink
Merge branch 'main' into scheduled-job-identity-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
cwperks committed Jul 10, 2023
2 parents 6a487ce + 19a0c77 commit 43a7c11
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
java: [11, 17]

# Job name
Expand Down
14 changes: 13 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,23 @@ repositories {
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
}

configurations {
all {
resolutionStrategy {
force 'com.google.guava:guava:32.0.1-jre'
}
}
}

dependencies {
implementation project(path: ":${rootProject.name}-spi", configuration: 'shadow')
implementation group: 'com.google.guava', name: 'guava', version:'31.0.1-jre'
implementation group: 'com.google.guava', name: 'guava', version:'32.0.1-jre'
implementation group: 'com.google.guava', name: 'failureaccess', version:'1.0.1'
javaRestTestImplementation project.sourceSets.main.runtimeClasspath
//spotless
implementation('com.google.googlejavaformat:google-java-format:1.15.0') {
exclude group: 'com.google.guava'
}
}

// RPM & Debian build
Expand Down
5 changes: 4 additions & 1 deletion sample-extension-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ apply plugin: 'opensearch.java-rest-test'

import org.opensearch.gradle.test.RestIntegTestTask
import org.opensearch.gradle.testclusters.StandaloneRestIntegTestTask
import org.apache.tools.ant.taskdefs.condition.Os

import java.util.concurrent.Callable

Expand Down Expand Up @@ -278,7 +279,9 @@ task bwcTestSuite(type: StandaloneRestIntegTestTask) {
dependsOn tasks.named("${baseName}#rollingUpgradeClusterTask")
dependsOn tasks.named("${baseName}#fullRestartClusterTask")
}
tasks.named("check").configure {dependsOn(bwcTestSuite)}
if (!(Os.isFamily(Os.FAMILY_MAC))) {
tasks.named("check").configure {dependsOn(bwcTestSuite)}
}

run {
doFirst {
Expand Down

0 comments on commit 43a7c11

Please sign in to comment.