Skip to content

Commit de1b2fd

Browse files
Merge pull request #1224 from ie3-institute/df/#1223-Fix-spotless-deprecations
Fix spotless deprecations
2 parents 2643831 + 31ab884 commit de1b2fd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2323
- Converted `MappingEntry` into a normal class [#1087](https://github.com/ie3-institute/PowerSystemDataModel/issues/1087)
2424
- Renamed timeseries mapping `participant` column to `asset` [#1191](https://github.com/ie3-institute/PowerSystemDataModel/issues/1191)
2525
- Removed attribute `dsm` from `LoadInput` [#1195](https://github.com/ie3-institute/PowerSystemDataModel/issues/1195)
26+
- Fix spotless deprecations [#1123](https://github.com/ie3-institute/PowerSystemDataModel/issues/1223)
2627

2728
## [5.1.0] - 2024-06-24
2829

gradle/scripts/spotless.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ spotless {
2222
// the Groovy Eclipse formatter extends the Java Eclipse formatter,
2323
// so it formats Java files by default (unless `excludeJava` is used).
2424
greclipse().configFile('greclipse.properties')
25-
indentWithSpaces 2
25+
leadingTabsToSpaces 2
2626
}
2727

2828
groovyGradle {
2929
// same as groovy, but for .gradle (defaults to '*.gradle')
3030
target '*.gradle', 'gradle/scripts/*.gradle'
3131
greclipse()
32-
indentWithSpaces 2
32+
leadingTabsToSpaces 2
3333
}
3434

3535
// removes unnecessary whitespace, indents with tabs and ends on new line for gradle, md and gitignore files and config-XMLs
3636
format 'misc', {
3737
target '**/.gitignore', 'configs/**'
3838
trimTrailingWhitespace()
39-
indentWithTabs()
39+
leadingSpacesToTabs()
4040
endWithNewline()
4141
}
4242
}

0 commit comments

Comments
 (0)