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