How to add a dependency to Maven
Add the following com.daml : daml-lf-2.1-archive-java-proto maven dependency to the pom.xml
file with your favorite IDE (IntelliJ / Eclipse / Netbeans):
<dependency>
<groupId>com.daml</groupId>
<artifactId>daml-lf-2.1-archive-java-proto</artifactId>
<version>3.0.0-snapshot.20240318.12913.0.v1c415c97</version>
</dependency>
How to add a dependency to Gradle
Gradle Groovy DSL: Add the following com.daml : daml-lf-2.1-archive-java-proto gradle dependency to your build.gradle
file:
implementation 'com.daml:daml-lf-2.1-archive-java-proto:3.0.0-snapshot.20240318.12913.0.v1c415c97'
Gradle Kotlin DSL: Add the following com.daml : daml-lf-2.1-archive-java-proto gradle kotlin dependency to your build.gradle.kts
file:
implementation("com.daml:daml-lf-2.1-archive-java-proto:3.0.0-snapshot.20240318.12913.0.v1c415c97")
How to add a dependency to SBT Scala
SBT Scala: Add the following com.daml : daml-lf-2.1-archive-java-proto sbt scala dependency to your build.sbt
file:
libraryDependencies += "com.daml" % "daml-lf-2.1-archive-java-proto" % "3.0.0-snapshot.20240318.12913.0.v1c415c97"