Added a note on required codegen dependencies (#5853)

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
daravep 2020-05-07 07:58:36 +02:00 committed by GitHub
parent b318cb0299
commit 0c8bf80c6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,4 +95,17 @@ and **DAML to Scala** command line configuration::
$ daml codegen scala ./.daml/dist/quickstart-0.0.1.dar=com.daml.quickstart.iou --output-directory=scala-codegen/src/main/scala --verbosity=2
In order to compile the resulting **Scala** or **Java** classes, you need to
add the corresponding dependencies to your build tools. For **Scala**, you can
depend on::
"com.daml" %% "bindings-scala" % 1.0.1
and for **Java**, add the following **Maven** dependency::
<dependency>
<groupId>com.daml</groupId>
<artifactId>bindings-java</artifactId>
<version>1.0.1</version>
</dependency>