bazel can't find a jdk for mac with m1 chip environment. so add a platforms denpency to fix blew error.
Error:(490, 6) Configurable attribute "actual" doesn't match this configuration: Could not find a JDK for host execution environment, please explicitly provide one using --host_javabase.
bazel can't find a jdk for mac with m1 chip environment. so add a platforms denpency to fix blew error.