Dependencies of the generated code
==================================

The plain code generated by Scrooge depends on apache libthrift and scrooge-core.
You'll need to add the following dependencies to your project, if you use maven (other
build systems are similar)

::

        <dependency>
          <groupId>org.apache.thrift</groupId>
          <artifactId>libthrift</artifactId>
        </dependency>
        <dependency>
          <groupId>com.twitter</groupId>
          <artifactId>scrooge-core</artifactId>
       </dependency>

If you specify --finagle option, you need to have the following additional dependencies

::

       <dependency>
         <groupId>com.twitter</groupId>
         <artifactId>util-core</artifactId>
       </dependency>
       <dependency>
         <groupId>com.twitter</groupId>
         <artifactId>finagle-core</artifactId>
       </dependency>
       <dependency>
         <groupId>com.twitter</groupId>
         <artifactId>finagle-thrift</artifactId>
       </dependency>

Dependencies of the generated code
==================================

The plain code generated by Scrooge depends on apache libthrift (version 0.10.0) and scrooge-core.
You'll need to add the following dependencies to your project, if you use maven (other
build systems are similar)

::

        <dependency>
          <groupId>org.apache.thrift</groupId>
          <artifactId>libthrift</artifactId>
        </dependency>
        <dependency>
          <groupId>com.twitter</groupId>
          <artifactId>scrooge-core</artifactId>
       </dependency>

.. note::

    We recommend using Apache Thrift 0.10.0 to ensure compatibility with Scrooge generated code.  

If you specify --finagle option, you need to have the following additional dependencies

::

       <dependency>
         <groupId>com.twitter</groupId>
         <artifactId>util-core</artifactId>
       </dependency>
       <dependency>
         <groupId>com.twitter</groupId>
         <artifactId>finagle-core</artifactId>
       </dependency>
       <dependency>
         <groupId>com.twitter</groupId>
         <artifactId>finagle-thrift</artifactId>
       </dependency>

Add thrift version recommendation in doc
scrooge: Add thrift version recommendation in doc

Problem/Solution
Mention the recommended thrift version in Scrooge doc
so users won't run into compatibility issues with a different version.

JIRA Issues: CSL-11508

Differential Revision: https://phabricator.twitter.biz/D794319
