diff --git a/build.sbt b/build.sbt index 29647a0b..7e412644 100644 --- a/build.sbt +++ b/build.sbt @@ -15,6 +15,8 @@ sourceDistName := "apache-pekko-connectors-kafka" sourceDistIncubating := false ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo +// FIXME can we optimized it? https://github.com/apache/pekko-connectors-kafka/pull/193 +ThisBuild / resolvers ++= (if (isSnapshot.value) Seq(Resolver.ApacheMavenSnapshotsRepo) else Seq()) addCommandAlias("verifyCodeStyle", "scalafmtCheckAll; scalafmtSbtCheck; +headerCheckAll; javafmtCheckAll") addCommandAlias("applyCodeStyle", "+headerCreateAll; scalafmtAll; scalafmtSbt; javafmtAll")