Skip to content

Commit 15853e5

Browse files
authored
Add missing explicit dependencies for gradle tasks (#3250)
The JMH one is a little surprising to me, as that is just a plugin. I basically just followed what gradle printed in the warnings. Also, I validated this locally running each task with a clean, e.g. ./gradlew clean :fdb-relational-cli:jar --warning-mode all on main, it fails because files don't exst, but on this branch they succeed. This is part of the work to allow upgrading to gradle 8: #3242
1 parent fe58468 commit 15853e5

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

fdb-record-layer-jmh/fdb-record-layer-jmh.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ dependencies {
3434
testCompileOnly(libs.bundles.test.compileOnly)
3535
}
3636

37+
generateJmhProto {
38+
dependsOn "extractIncludeProto"
39+
}
40+
3741
jmh {
3842
environment = rootProject.ext.fdbEnvironment
3943
}

fdb-relational-cli/fdb-relational-cli.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ jar {
8484
from {
8585
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
8686
}
87+
88+
dependsOn ':fdb-extensions:jar'
89+
dependsOn ':fdb-record-layer-core:jar'
8790
dependsOn ':fdb-relational-api:jar'
8891
dependsOn ':fdb-relational-core:jar'
8992
dependsOn ':fdb-relational-grpc:jar'

0 commit comments

Comments
 (0)