diff --git a/build.gradle b/build.gradle index af2c411ed183435fe6b14c2aa22b179b6f93f2b0..bfda95695149376a30f56acdc1f985732819299c 100644 --- a/build.gradle +++ b/build.gradle @@ -158,6 +158,11 @@ check.dependsOn rat // for the test definitions. task javaPreCommit() { dependsOn ":rat" + // We need to list the model/* builds since sdks/java/core doesn't + // depend on any of the model. + dependsOn ":beam-model-pipeline:build" + dependsOn ":beam-model-job-management:build" + dependsOn ":beam-model-fn-execution:build" dependsOn ":beam-sdks-java-core:buildNeeded" dependsOn ":beam-sdks-java-core:buildDependents" dependsOn ":beam-examples-java:preCommit"