Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,10 @@ workflows:
- codacy/checkout_and_version:
write_sbt_version: true
- codacy/sbt:
name: compile_test
name: compile_and_test
cmd: |
sbt "set scalafmtUseIvy in ThisBuild := false;
scalafmt::test;
test:scalafmt::test;
sbt:scalafmt::test;
+test;
coverage;
coverageReport"
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --skip
sbt scalafmtSbtCheck scalafmtCheckAll
sbt +test
persist_to_workspace: true
requires:
- codacy/checkout_and_version
Expand All @@ -29,7 +23,7 @@ workflows:
cmd: |
sbt retrieveGPGKeys +publishSigned sonatypeBundleRelease
requires:
- compile_test
- compile_and_test
filters:
branches:
only:
Expand Down
9 changes: 4 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
val scala212 = "2.12.10"
val scala213 = "2.13.1"
val scala213 = "2.13.11"
organization := "com.codacy"
scalaVersion := scala212
crossScalaVersions := Seq(scala212, scala213)
scalaVersion := scala213
crossScalaVersions := Seq(scala213)
name := "codacy-duplication-scala-seed"
libraryDependencies ++= Seq("com.typesafe.play" %% "play-json" % "2.8.1",
"com.codacy" %% "codacy-plugins-api" % "7.2.1" withSources (),
"com.codacy" %% "codacy-plugins-api" % "7.2.1",
"com.github.pathikrit" %% "better-files" % "3.8.0",
"org.specs2" %% "specs2-core" % "4.8.0" % Test)

Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.3.8
sbt.version=1.9.2
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.codacy" % "codacy-sbt-plugin" % "20.0.2")
addSbtPlugin("com.codacy" % "codacy-sbt-plugin" % "25.1.1")