From 341db21b2ac0a14a1ed2b8bf7930914dda054bfe Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Fri, 22 Nov 2019 18:06:08 -0500 Subject: Formatting Code base with ktlint No Business logic change, just the code format. Competible with IntelliJ: https://github.com/pinterest/ktlint#option-3 To format run: mvn process-sources -P format Issue-ID: CCSDK-1947 Signed-off-by: Singal, Kapil (ks220y) Change-Id: Ic9e9209fb7023d77f434693ad5a01229f8d09331 --- pom.xml | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index d7580f0b0..614acda21 100644 --- a/pom.xml +++ b/pom.xml @@ -98,6 +98,56 @@ limitations under the License. + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.7 + + + validate-kotlin + validate + + + + + + + ${format.skipValidate} + + + run + + + + + format-kotlin + process-sources + + + + + + + + ${format.skipExecute} + + + run + + + + + + com.pinterest + ktlint + 0.35.0 + + + @@ -142,5 +192,6 @@ limitations under the License. false + -- cgit 1.2.3-korg