Skip to main content

java

RuleDescription
gwt_binaryA gwt_binary() rule produces a GWT (Google Web Toolkit) application by invoking the GWT compiler against the listed modules.
jar_genruleA jar_genrule() is a variant of genrule() whose output is packaged into a JAR file.
java_annotation_processorA java_annotation_processor() rule declares a Java annotation processor (identified by processor_class) that can be referenced from java_library() and kotlin_library() rules to run during compilation.
java_binaryA java_binary() rule is used to create a JAR file of the compiled .class files and resources of the java_library() rules on which it depends.
java_libraryA java_library() rule defines a set of Java files that can be compiled together.
java_pluginA java_plugin() rule declares a javac plugin (identified by plugin_name) that can be referenced from java_library() and kotlin_library() rules to run during compilation.
java_testA java_test() rule is used to define a set of .java files that contain tests to run via JUnit.
prebuilt_jarA prebuilt_jar() rule is used to identify a JAR file that is checked into our repository as a precompiled binary rather than one that is built from source by Buck.