After running publishToMavenLocal task I see
% find graalvm-native-image-app/build/libs graalvm-native-image-app/build/libs graalvm-native-image-app/build/libs/graalvm-native-image-app-5.1.0-SNAPSHOT.jar graalvm-native-image-app/build/libs/graalvm-native-image-app-5.1.0-SNAPSHOT-javadoc.jar graalvm-native-image-app/build/libs/graalvm-native-image-app-5.1.0-SNAPSHOT-sources.jar
and also I see it published to the Sonatype snapshot repo at https://oss.sonatype.org/content/repositories/snapshots/org/mongodb/graalvm-native-image-app/5.1.0-SNAPSHOT/.
We need to exclude this module so it's not published. Similar to what we already to for, say, driver-benchmarks module.