Skip to content

Commit a889b43

Browse files
committed
do retain on handle() call, temporary disable checkstyle and spotbugs
1 parent 1537d72 commit a889b43

File tree

3 files changed

+157
-151
lines changed

3 files changed

+157
-151
lines changed

build.gradle

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ plugins() {
33

44
id("org.ajoberstar.grgit").version("5.2.2")
55

6+
/*
67
id("com.diffplug.spotless").version("6.25.0").apply(false)
78
id("com.github.spotbugs").version("6.0.19").apply(false)
9+
*/
810

911
id("io.github.goooler.shadow").version("8.1.8")
1012
}
@@ -19,9 +21,11 @@ if (this.version.endsWith("-SNAPSHOT")) {
1921
subprojects() {
2022
apply(plugin: "java-library")
2123

22-
//apply(plugin: "com.diffplug.spotless")
24+
/*
25+
apply(plugin: "com.diffplug.spotless")
2326
apply(plugin: "checkstyle")
2427
apply(plugin: "com.github.spotbugs")
28+
*/
2529

2630
tasks.withType(JavaCompile).configureEach() {
2731
options.setEncoding("UTF-8")
@@ -48,12 +52,13 @@ subprojects() {
4852
url = "https://repo.papermc.io/repository/maven-public/"
4953
}
5054
}
55+
/*
5156
52-
//spotless() {
53-
// java() {
54-
// licenseHeaderFile(rootProject.file("HEADER.txt"))
55-
// }
56-
//}
57+
spotless() {
58+
java() {
59+
licenseHeaderFile(rootProject.file("HEADER.txt"))
60+
}
61+
}
5762
5863
checkstyle() {
5964
toolVersion = "10.17.0"
@@ -73,6 +78,7 @@ subprojects() {
7378
}
7479
}
7580
}
81+
*/
7682
}
7783

7884
gradle.projectsEvaluated() {

plugin/src/main/java/net/elytrium/limboapi/LimboAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
266266
LOGGER.error("****************************************");
267267
}
268268
} catch (Exception e) {
269-
LimboAPI.LOGGER.warn("Failed to check for updates:", e);
269+
LimboAPI.LOGGER.warn("Failed to check for updates", e);
270270
}
271271
}
272272
}

0 commit comments

Comments
 (0)