Skip to content

Commit 6e5e2e6

Browse files
committedOct 13, 2024
Apply and enforce code formatter
1 parent b77103f commit 6e5e2e6

File tree

374 files changed

+27376
-22040
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

374 files changed

+27376
-22040
lines changed
 

‎build.gradle

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
plugins {
33
id 'java-library'
4+
id 'com.diffplug.spotless' version '6.2.0'
45
id 'signing'
56
id 'maven-publish'
67
id 'de.marcphilipp.nexus-publish' version '0.4.0'
@@ -54,6 +55,14 @@ repositories {
5455
mavenCentral()
5556
}
5657

58+
spotless {
59+
java {
60+
palantirJavaFormat()
61+
importOrder 'java', 'javax', 'jakarta', 'org', 'com', ''
62+
removeUnusedImports()
63+
}
64+
}
65+
5766
nexusPublishing {
5867
repositories {
5968
sonatype {

‎src/main/java/org/gitlab4j/api/AbstractApi.java

+90-43
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.