How to add a dependency to Maven
Add the following com.github.myoss.eclipse : eclipse-code-formatter maven dependency to the pom.xml
file with your favorite IDE (IntelliJ / Eclipse / Netbeans):
<dependency>
<groupId>com.github.myoss.eclipse</groupId>
<artifactId>eclipse-code-formatter</artifactId>
<version>18.0.132.637.0-Eclipse_4.7.3a</version>
</dependency>
How to add a dependency to Gradle
Gradle Groovy DSL: Add the following com.github.myoss.eclipse : eclipse-code-formatter gradle dependency to your build.gradle
file:
implementation 'com.github.myoss.eclipse:eclipse-code-formatter:18.0.132.637.0-Eclipse_4.7.3a'
Gradle Kotlin DSL: Add the following com.github.myoss.eclipse : eclipse-code-formatter gradle kotlin dependency to your build.gradle.kts
file:
implementation("com.github.myoss.eclipse:eclipse-code-formatter:18.0.132.637.0-Eclipse_4.7.3a")
How to add a dependency to SBT Scala
SBT Scala: Add the following com.github.myoss.eclipse : eclipse-code-formatter sbt scala dependency to your build.sbt
file:
libraryDependencies += "com.github.myoss.eclipse" % "eclipse-code-formatter" % "18.0.132.637.0-Eclipse_4.7.3a"