Commit cbb3765 1 parent 41210c3 commit cbb3765 Copy full SHA for cbb3765
File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
paths :
6
6
- ' **.java'
7
+ - ' **.json'
7
8
- ' gradle**'
8
9
- ' build.gradle'
9
10
pull_request :
10
11
paths :
11
12
- ' **.java'
13
+ - ' **.json'
12
14
- ' gradle**'
13
15
- ' build.gradle'
14
16
# Makes it possible to run this workflow manually from the Actions tab
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ dependencies {
41
41
//
42
42
// In other words, Wurst won't compile without this library,
43
43
// even though it's Minecraft that actually uses it.
44
- modImplementation ' com.google.code.findbugs:jsr305:3.0.2'
44
+ modImplementation " com.google.code.findbugs:jsr305:3.0.2"
45
45
}
46
46
47
47
loom {
@@ -73,17 +73,21 @@ java {
73
73
74
74
jar {
75
75
from(" LICENSE" ) {
76
- rename { " ${ it} _${ project.base.archivesName.get()} " }
76
+ rename {" ${ it} _${ project.base.archivesName.get()} " }
77
77
}
78
78
}
79
79
80
80
spotless {
81
+ lineEndings(" WINDOWS" )
81
82
java {
82
83
removeUnusedImports()
83
84
indentWithTabs()
84
85
trimTrailingWhitespace()
85
86
eclipse(). configFile(file(" codestyle/formatter.xml" ))
86
- lineEndings(' WINDOWS' )
87
+ }
88
+ json {
89
+ target " src/**/*.json"
90
+ gson(). indentWithSpaces(2 ). version(" 2.10.1" )
87
91
}
88
92
}
89
93
You can’t perform that action at this time.
0 commit comments