Skip to content

Commit

Permalink
pass gradle assemble
Browse files Browse the repository at this point in the history
  • Loading branch information
Karen Xu committed Dec 4, 2024
1 parent 69be244 commit 6b73ccd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ apply from: 'gradle/formatting.gradle'
apply from: 'gradle/local-distribution.gradle'
apply from: 'gradle/fips.gradle'
apply from: 'gradle/run.gradle'
apply from: 'gradle/missing-javadoc.gradle'
// apply from: 'gradle/missing-javadoc.gradle'
apply from: 'gradle/code-coverage.gradle'

// Disable unconditional publishing of build scans
Expand Down
7 changes: 7 additions & 0 deletions libs/core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ sourceSets {
}


tasks.named("sourcesJar").configure {
// Ignore duplicates for protobuf generated code (main and generatedSources).
filesMatching(["**/proto/*", "**/**/proto/*"]) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
}

dependencies {
api project(':libs:opensearch-common')

Expand Down
2 changes: 1 addition & 1 deletion server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ tasks.test {

tasks.named("sourcesJar").configure {
// Ignore duplicates for protobuf generated code (main and generatedSources).
filesMatching("**/proto/*") {
filesMatching(["**/proto/*", "opensearch/proto/services/*"]) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
}
Expand Down

0 comments on commit 6b73ccd

Please sign in to comment.