Skip to content

Commit 1bf180b

Browse files
committed
deps: update Scalafmt to the latest version and make it dynamic for the generated project
1 parent 4eaf9dc commit 1bf180b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 3.3.0
1+
version = 3.8.2
22
runner.dialect = scala213
33
style = default
44
maxColumn = 120

src/main/g8/.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 3.3.0
1+
version = $scalafmt_version$
22
runner.dialect = scala213
33
style = default
44
maxColumn = 120

src/main/g8/default.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ version = 1.0
55
description = Project bootstrapped using the Codely Scala Basic Skeleton
66
organization = com.codely
77
package = $organization$.$name;format="lower,snake"$
8+
scalafmt_version = maven(org.scalameta, scalafmt-core_2.13, stable)
89
scalatest_version = maven(org.scalatest, scalatest_2.13, stable)
910
scalamock_version = maven(org.scalamock, scalamock_2.13, stable)
1011
nscala-time_version = maven(com.github.nscala-time, nscala-time_2.13, stable)

0 commit comments

Comments
 (0)