How to add a dependency to Maven
Add the following one.xingyi : optics maven dependency to the pom.xml
file with your favorite IDE (IntelliJ / Eclipse / Netbeans):
<dependency>
<groupId>one.xingyi</groupId>
<artifactId>optics</artifactId>
<version>1.2.5</version>
</dependency>
How to add a dependency to Gradle
Gradle Groovy DSL: Add the following one.xingyi : optics gradle dependency to your build.gradle
file:
implementation 'one.xingyi:optics:1.2.5'
Gradle Kotlin DSL: Add the following one.xingyi : optics gradle kotlin dependency to your build.gradle.kts
file:
implementation("one.xingyi:optics:1.2.5")
How to add a dependency to SBT Scala
SBT Scala: Add the following one.xingyi : optics sbt scala dependency to your build.sbt
file:
libraryDependencies += "one.xingyi" % "optics" % "1.2.5"