File tree Expand file tree Collapse file tree 3 files changed +157
-151
lines changed
plugin/src/main/java/net/elytrium/limboapi Expand file tree Collapse file tree 3 files changed +157
-151
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ plugins() {
3
3
4
4
id(" org.ajoberstar.grgit" ). version(" 5.2.2" )
5
5
6
+ /*
6
7
id("com.diffplug.spotless").version("6.25.0").apply(false)
7
8
id("com.github.spotbugs").version("6.0.19").apply(false)
9
+ */
8
10
9
11
id(" io.github.goooler.shadow" ). version(" 8.1.8" )
10
12
}
@@ -19,9 +21,11 @@ if (this.version.endsWith("-SNAPSHOT")) {
19
21
subprojects() {
20
22
apply(plugin : " java-library" )
21
23
22
- // apply(plugin: "com.diffplug.spotless")
24
+ /*
25
+ apply(plugin: "com.diffplug.spotless")
23
26
apply(plugin: "checkstyle")
24
27
apply(plugin: "com.github.spotbugs")
28
+ */
25
29
26
30
tasks. withType(JavaCompile ). configureEach() {
27
31
options. setEncoding(" UTF-8" )
@@ -48,12 +52,13 @@ subprojects() {
48
52
url = " https://repo.papermc.io/repository/maven-public/"
49
53
}
50
54
}
55
+ /*
51
56
52
- // spotless() {
53
- // java() {
54
- // licenseHeaderFile(rootProject.file("HEADER.txt"))
55
- // }
56
- // }
57
+ spotless() {
58
+ java() {
59
+ licenseHeaderFile(rootProject.file("HEADER.txt"))
60
+ }
61
+ }
57
62
58
63
checkstyle() {
59
64
toolVersion = "10.17.0"
@@ -73,6 +78,7 @@ subprojects() {
73
78
}
74
79
}
75
80
}
81
+ */
76
82
}
77
83
78
84
gradle. projectsEvaluated() {
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
266
266
LOGGER .error ("****************************************" );
267
267
}
268
268
} catch (Exception e ) {
269
- LimboAPI .LOGGER .warn ("Failed to check for updates: " , e );
269
+ LimboAPI .LOGGER .warn ("Failed to check for updates" , e );
270
270
}
271
271
}
272
272
}
You can’t perform that action at this time.
0 commit comments