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