Skip to content

Commit

Permalink
do retain on handle() call, temporary disable checkstyle and spotbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdxd44 committed Nov 27, 2024
1 parent 1537d72 commit a889b43
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 151 deletions.
18 changes: 12 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ plugins() {

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

/*
id("com.diffplug.spotless").version("6.25.0").apply(false)
id("com.github.spotbugs").version("6.0.19").apply(false)
*/

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

//apply(plugin: "com.diffplug.spotless")
/*
apply(plugin: "com.diffplug.spotless")
apply(plugin: "checkstyle")
apply(plugin: "com.github.spotbugs")
*/

tasks.withType(JavaCompile).configureEach() {
options.setEncoding("UTF-8")
Expand All @@ -48,12 +52,13 @@ subprojects() {
url = "https://repo.papermc.io/repository/maven-public/"
}
}
/*
//spotless() {
// java() {
// licenseHeaderFile(rootProject.file("HEADER.txt"))
// }
//}
spotless() {
java() {
licenseHeaderFile(rootProject.file("HEADER.txt"))
}
}
checkstyle() {
toolVersion = "10.17.0"
Expand All @@ -73,6 +78,7 @@ subprojects() {
}
}
}
*/
}

gradle.projectsEvaluated() {
Expand Down
2 changes: 1 addition & 1 deletion plugin/src/main/java/net/elytrium/limboapi/LimboAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
LOGGER.error("****************************************");
}
} catch (Exception e) {
LimboAPI.LOGGER.warn("Failed to check for updates:", e);
LimboAPI.LOGGER.warn("Failed to check for updates", e);
}
}
}
Expand Down
Loading

0 comments on commit a889b43

Please sign in to comment.