Skip to content

Commit

Permalink
fix(weaver-corda): added duplicate handling strategy in build.gradle
Browse files Browse the repository at this point in the history
Signed-off-by: Sandeep Nishad <[email protected]>
  • Loading branch information
sandeepnRES authored and petermetz committed Sep 25, 2024
1 parent 6e272e6 commit c5bbb33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion weaver/common/protos-java-kt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ dependencies {
implementation "io.grpc:grpc-netty-shaded:$grpc_version"
implementation "io.grpc:grpc-protobuf:$grpc_version"
implementation "io.grpc:grpc-stub:$grpc_version"
implementation 'javax.annotation:javax.annotation-api:1.3.2'
compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+

}
Expand Down
4 changes: 4 additions & 0 deletions weaver/core/network/corda-interop-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ allprojects {
preserveFileTimestamps = false
reproducibleFileOrder = true
}

tasks.named('jar') {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
}

apply plugin: 'net.corda.plugins.cordapp'
Expand Down

0 comments on commit c5bbb33

Please sign in to comment.