This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-resources.git
The following commit(s) were added to refs/heads/master by this push:
new c9d4cb4 Add Groovy-Eclipse formatter settings for Groovy scripts
c9d4cb4 is described below
commit c9d4cb4170800163a0b9a4e4581b5b1a69821819
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 25 19:57:17 2026 +0000
Add Groovy-Eclipse formatter settings for Groovy scripts
---
.../config/maven-groovy-eclipse.properties | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/src/main/resources/config/maven-groovy-eclipse.properties
b/src/main/resources/config/maven-groovy-eclipse.properties
new file mode 100644
index 0000000..ddfbc5f
--- /dev/null
+++ b/src/main/resources/config/maven-groovy-eclipse.properties
@@ -0,0 +1,29 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# Groovy-Eclipse formatter settings for Groovy scripts (spotless greclipse
step):
+# 4-space indent, K&R braces, short lists kept on one line.
+org.eclipse.jdt.core.formatter.tabulation.char=space
+org.eclipse.jdt.core.formatter.tabulation.size=4
+org.eclipse.jdt.core.formatter.indentation.size=4
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.lineSplit=120
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do
not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do
not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do
not insert
+groovy.formatter.longListLength=120
+groovy.formatter.remove.unnecessary.semicolons=true