diff --git a/plugin-gradle/README.md b/plugin-gradle/README.md
index 68e75fe536..6856e1c2b2 100644
--- a/plugin-gradle/README.md
+++ b/plugin-gradle/README.md
@@ -147,8 +147,8 @@ spotless {
// Use the default importOrder configuration
importOrder()
// optional: you can specify import groups directly
- // note: You probably want an empty string at the end - all of the imports you didn't specify explicitly will go there.
- importOrder('java', 'javax', 'com.acme', '')
+ // note: you can use an empty string for all the imports you didn't specify explicitly, and '\\#` prefix for static imports
+ importOrder('java', 'javax', 'com.acme', '', '\\#com.acme', '\\#')
// optional: instead of specifying import groups directly you can specify a config file
// export config file: https://github.com/diffplug/spotless/blob/main/ECLIPSE_SCREENSHOTS.md#creating-spotlessimportorder
importOrderFile('eclipse-import-order.txt') // import order file as exported from eclipse
@@ -234,8 +234,8 @@ spotless {
// Use the default importOrder configuration
importOrder()
// optional: you can specify import groups directly
- // note: You probably want an empty string at the end - all of the imports you didn't specify explicitly will go there.
- importOrder('java', 'javax', 'com.acme', '')
+ // note: you can use an empty string for all the imports you didn't specify explicitly, and '\\#` prefix for static imports
+ importOrder('java', 'javax', 'com.acme', '', '\\#com.acme', '\\#')
// optional: instead of specifying import groups directly you can specify a config file
// export config file: https://github.com/diffplug/spotless/blob/main/ECLIPSE_SCREENSHOTS.md#creating-spotlessimportorder
importOrderFile('eclipse-import-order.txt') // import order file as exported from eclipse
diff --git a/plugin-maven/README.md b/plugin-maven/README.md
index e60b0de0c6..c676410ceb 100644
--- a/plugin-maven/README.md
+++ b/plugin-maven/README.md
@@ -181,9 +181,8 @@ any other maven phase (i.e. compile) then it can be configured as below;
false
- java,javax,org,com,com.diffplug,
-
+ java,javax,org,com,com.diffplug,,\\#com.diffplug,\\#
+
@@ -250,10 +249,8 @@ This is a workaround to a [pending issue](https://github.com/diffplug/spotless/i
- java,javax,org,com,com.diffplug,
-
+ java,javax,org,com,com.diffplug,,\\#com.diffplug,\\#
+