You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugin-gradle/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1947,15 +1947,17 @@ If you want to centralize your Spotless configuration for use across many projec
1947
1947
If you are content with only centralizing configuration files, it is possible to define a common configuration that is deployed as a standard artifact so that it can be then be reused by each project. For example:
1948
1948
1949
1949
```kotlin
1950
-
val spotlessConfig by configurations.creating
1950
+
configurations {
1951
+
spotlessConfig
1952
+
}
1951
1953
dependencies {
1952
1954
// the files `java-import-order.txt` and `java-formatter.xml` should be at the root of the deployed `org.mycompany:code-configuration:1.0.0` jar.
0 commit comments