1load("//:gax_java.bzl", "google_java_format", "google_java_format_verification") 2 3exports_files(["dependencies.properties"]) 4 5JAVA_COPTS = [ 6 "-source", 7 "1.7", 8 "-target", 9 "1.7", 10] 11 12java_plugin( 13 name = "auto_value_plugin", 14 processor_class = "com.google.auto.value.processor.AutoValueProcessor", 15 deps = ["@com_google_auto_value_auto_value//jar"], 16 visibility = ["//visibility:public"], 17) 18 19# google-java-format 20java_binary( 21 name = "google_java_format_binary", 22 # Not letting the formatter consume too much memory (essential for CI builds) 23 jvm_flags = ["-Xmx512m"], 24 main_class = "com.google.googlejavaformat.java.Main", 25 visibility = ["//visibility:public"], 26 runtime_deps = ["@google_java_format_all_deps//jar"], 27) 28 29