File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ buildscript {
30
30
31
31
// Scala plugins
32
32
classpath " com.adtran:scala-multiversion-plugin:2.0.4"
33
- classpath " com.diffplug.spotless:spotless-plugin-gradle:3.27.1 "
33
+ classpath " com.diffplug.spotless:spotless-plugin-gradle:6.3.0 "
34
34
35
35
// Test logging plugin
36
36
classpath ' com.adarshr:gradle-test-logger-plugin:2.1.0'
@@ -95,7 +95,7 @@ configure(scalaProjects) {
95
95
apply plugin : ' scala'
96
96
apply plugin : ' idea'
97
97
apply plugin : " com.adtran.scala-multiversion-plugin"
98
- apply plugin : " com.diffplug.gradle. spotless"
98
+ apply plugin : " com.diffplug.spotless"
99
99
100
100
group = ' org.mongodb.scala'
101
101
@@ -122,7 +122,7 @@ configure(scalaProjects) {
122
122
123
123
spotless {
124
124
scala {
125
- scalafmt(' 2.0.0 ' ). configFile(" $configDir /scala/scalafmt.conf" )
125
+ scalafmt(). configFile(" $configDir /scala/scalafmt.conf" )
126
126
}
127
127
}
128
128
compileScala. dependsOn(' spotlessApply' )
Original file line number Diff line number Diff line change 1
- style = defaultWithAlign
1
+ version = "3.4.3"
2
+ runner.dialect = scala213
2
3
3
- align.tokens = [off]
4
- align = some
5
- danglingParentheses = true
6
- docstrings = JavaDoc
4
+ preset = default
5
+
6
+ danglingParentheses.preset = true
7
+ docstrings.style = keep
8
+ #docstrings.style = Asterisk
9
+ #docstrings.wrap = no
7
10
maxColumn = 120
8
11
rewrite.rules = [SortImports]
9
- newlines.alwaysBeforeTopLevelStatements = false
12
+ newlines.topLevelStatements = []
13
+ newlines.source=keep
14
+ newlines.implicitParamListModifierPrefer=before
15
+
10
16
spaces.inImportCurlyBraces = true
You can’t perform that action at this time.
0 commit comments