Skip to content

Commit

Permalink
remove unchecked warning from build
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Walter Knize <[email protected]>
  • Loading branch information
nknize committed Apr 11, 2023
1 parent edc16a0 commit ed391e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ dependencies {
}
}

tasks.withType(JavaCompile).configureEach {
options.compilerArgs -= '-Xlint:unchecked'
}

tasks.named('forbiddenApisMain').configure {
// :libs:opensearch-common does not depend on server
// TODO: Need to decide how we want to handle for forbidden signatures with the changes to server
Expand Down

0 comments on commit ed391e2

Please sign in to comment.