You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by da...@apache.org on 2022/04/21 10:04:52 UTC
[flink-training] 01/03: [FLINK-27322][gradle] update spotless plugin and format scala headers with a blank line after the license
This is an automated email from the ASF dual-hosted git repository.
danderson pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-training.git
commit a47f38e7b3e7fe0e1bf372d97852da3b997df461
Author: Nico Kruber <ni...@ververica.com>
AuthorDate: Wed Apr 20 12:23:11 2022 +0200
[FLINK-27322][gradle] update spotless plugin and format scala headers with a blank line after the license
The previous version of the plugin didn't support this style of formatting.
Now, we are more in line with the Java formatting.
---
build.gradle | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.gradle b/build.gradle
index a9e4756..8df5493 100644
--- a/build.gradle
+++ b/build.gradle
@@ -17,7 +17,7 @@
plugins {
id 'com.github.johnrengelman.shadow' version '7.0.0' apply false
- id "com.diffplug.spotless" version "5.14.2" apply false
+ id "com.diffplug.spotless" version "6.4.2" apply false
}
description = "Flink Training Exercises"
@@ -162,7 +162,7 @@ subprojects {
' * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n' +
' * See the License for the specific language governing permissions and\n' +
' * limitations under the License.\n' +
- ' */\n', 'package '
+ ' */\n\n', 'package '
}
}
}