not even checkstyle can help us now
This commit is contained in:
parent
2d176a6083
commit
b75a22c4b1
6 changed files with 15 additions and 23 deletions
|
@ -16,15 +16,14 @@ index e431e3435737e28394d81b56568a08b3c3148b9b..c484aff2c192bf42059b5689327909e4
|
|||
/.project
|
||||
diff --git a/build.gradle.kts b/build.gradle.kts
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..f3dd92e136a71aa39e422de7b2c5f2f3fdec554e
|
||||
index 0000000000000000000000000000000000000000..35b57f52fcfd91cff04dc60c3a8a16b31f775fc0
|
||||
--- /dev/null
|
||||
+++ b/build.gradle.kts
|
||||
@@ -0,0 +1,67 @@
|
||||
@@ -0,0 +1,59 @@
|
||||
+import java.util.Locale
|
||||
+
|
||||
+plugins {
|
||||
+ `java-library`
|
||||
+ checkstyle
|
||||
+}
|
||||
+
|
||||
+java {
|
||||
|
@ -51,8 +50,6 @@ index 0000000000000000000000000000000000000000..f3dd92e136a71aa39e422de7b2c5f2f3
|
|||
+ testImplementation("junit:junit:4.13.1")
|
||||
+ testImplementation("org.hamcrest:hamcrest-library:1.3")
|
||||
+ testImplementation("org.ow2.asm:asm-tree:9.1")
|
||||
+
|
||||
+ checkstyle("com.puppycrawl.tools:checkstyle:8.39")
|
||||
+}
|
||||
+
|
||||
+val generateApiVersioningFile by tasks.registering {
|
||||
|
@ -82,8 +79,3 @@ index 0000000000000000000000000000000000000000..f3dd92e136a71aa39e422de7b2c5f2f3
|
|||
+ "https://javadoc.io/doc/net.md-5/bungeecord-chat/1.16-R0.4/"
|
||||
+ )
|
||||
+}
|
||||
+
|
||||
+checkstyle {
|
||||
+ configFile = file("checkstyle.xml")
|
||||
+ sourceSets = listOf(project.sourceSets.main.get(), project.sourceSets.test.get())
|
||||
+}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue