📄️ archive
A ZIP or TAR file containing loose files and code packages.
📄️ deploy_jar
A `jar` file with first and third-party code bundled for deploys.
📄️ docker_image
The `docker_image` target describes how to build and tag a Docker image.
📄️ experimental_run_shell_command
Run a script in the workspace, with all dependencies packaged/copied into a chroot.
📄️ experimental_shell_command
Execute any external tool for its side effects.
📄️ file
A single loose file that lives outside of code packages.
📄️ files
Generate a `file` target for each file in the `sources` field.
📄️ go_binary
A Go binary.
📄️ go_mod
A first-party Go module (corresponding to a `go.mod` file).
📄️ go_package
A first-party Go package (corresponding to a directory with `.go` files).
📄️ go_third_party_package
A package from a third-party Go module.
📄️ java_source
A single Java source file containing application or library code.
📄️ java_sources
Generate a `java_source` target for each file in the `sources` field.
📄️ junit_test
A single Java test, run with JUnit.
📄️ junit_tests
Generate a `junit_test` target for each file in the `sources` field.
📄️ jvm_artifact
A third-party JVM artifact, as identified by its Maven-compatible coordinate.
📄️ pants_requirements
Generate `python_requirement` targets for Pants itself to use with Pants plugins.
📄️ pex_binary
A Python target that can be converted into an executable PEX file.
📄️ protobuf_source
A single Protobuf file used to generate various languages.
📄️ protobuf_sources
Generate a `protobuf_source` target for each file in the `sources` field.
📄️ python_awslambda
A self-contained Python function suitable for uploading to AWS Lambda.
📄️ python_distribution
A publishable Python setuptools distribution (e.g. an sdist or wheel).
📄️ python_google_cloud_function
A self-contained Python function suitable for uploading to Google Cloud Function.
📄️ python_requirement
A Python requirement installable by pip.
📄️ python_source
A single Python source file.
📄️ python_sources
Generate a `python_source` target for each file in the `sources` field.
📄️ python_test
A single Python test file, written in either Pytest style or unittest style.
📄️ python_test_utils
Generate a `python_source` target for each file in the `sources` field.
📄️ python_tests
Generate a `python_test` target for each file in the `sources` field.
📄️ relocated_files
Loose files with path manipulation applied.
📄️ resource
A single resource file embedded in a code package and accessed in a location-independent manner.
📄️ resources
Generate a `resource` target for each file in the `sources` field.
📄️ scala_junit_test
A single Scala test, run with JUnit.
📄️ scala_junit_tests
Generate a `scala_junit_test` target for each file in the `sources` field.
📄️ scala_source
A single Scala source file containing application or library code.
📄️ scala_sources
Generate a `scala_source` target for each file in the `sources` field.
📄️ scalac_plugin
A plugin for `scalac`.
📄️ scalatest_test
A single Scala test, run with Scalatest.
📄️ scalatest_tests
Generate a `scalatest_test` target for each file in the `sources` field (defaults to all files in the directory matching ('*Spec.scala', '*Suite.scala')).