Skip to content

Commit

Permalink
Gradle: fix 'hedera-protobufs' git pull
Browse files Browse the repository at this point in the history
Signed-off-by: Jendrik Johannes <jendrik.johannes@gmail.com>
  • Loading branch information
jjohannes committed Nov 21, 2023
1 parent 7417fee commit 9dafb94
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hedera-node/hapi/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ providers
.result
.get()

@Suppress("UnstableApiUsage")
providers
.exec {
workingDir = hederaProtoDir.asFile
commandLine("git", "reset", "--hard", "origin/$hapiProtoBranchOrTag", "-q")
}
.result
.get()

testModuleInfo {
requires("com.hedera.node.hapi")
// we depend on the protoc compiled hapi during test as we test our pbj generated code
Expand Down

0 comments on commit 9dafb94

Please sign in to comment.