Skip to main content
Version: 2.19 (deprecated)

java-thrift


Options specific to generating Java from Thrift using the Apache Thrift generator

Backend: pants.backend.experimental.codegen.thrift.apache.java

Config section: [java-thrift]

Basic options

options

--java-thrift-options="['<str>', '<str>', ...]"
PANTS_JAVA_THRIFT_OPTIONS
pants.toml
[java-thrift]
options = [
'<str>',
'<str>',
...,
]
default: []

Code generation options specific to the Java code generator to pass to the Apache thrift binary via the -gen java argument. See thrift -help for supported values.

Advanced options

None

Deprecated options

None

None