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