HomeDocs
DocsCommunityTestimonialsUsersGitHubTwitterBlogJobsTermsPrivacyCookies
TermsPrivacyCookies
Hey! These docs are for version 2.11, which is no longer officially supported. Click here for the latest version, 2.18!

scala-infer

Options controlling which dependencies will be inferred for Scala targets.

Backend: pants.backend.experimental.scala
Config section: [scala-infer]

Basic options

imports

--[no-]scala-infer-imports
PANTS_SCALA_INFER_IMPORTS
default: True

Infer a target's dependencies by parsing import statements from sources.


consumed_types

--[no-]scala-infer-consumed-types
PANTS_SCALA_INFER_CONSUMED_TYPES
default: True

Infer a target's dependencies by parsing consumed types from sources.


Advanced options

None

Deprecated options

None