From 0f1832310d79ea41e89ce1bd05c766ff6edb1fcd Mon Sep 17 00:00:00 2001 From: JingZhang Chen Date: Tue, 4 Jun 2024 17:45:37 +0800 Subject: [PATCH] add snapshot repo --- build.sbt | 2 ++ 1 file changed, 2 insertions(+) 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")