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