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>