Skip to content

Commit 5762232

Browse files
authored
Merge pull request #8 from 4drian3d/removeinfraction
Implement Control Type - Improved Violations count API - Improved DebugUtils - Improved the redactibility of the plugin command code by separating it into several methods. - Fixed a possible problem when creating one-time checks. - Added async suggestions on main command - Added Junit tests
2 parents bbc98a3 + 5060627 commit 5762232

File tree

20 files changed

+631
-476
lines changed

20 files changed

+631
-476
lines changed

build.gradle.kts

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,29 @@ plugins {
88

99
repositories {
1010
mavenLocal()
11-
maven {
12-
url = uri("https://nexus.velocitypowered.com/repository/maven-public/")
13-
}
14-
15-
maven {
16-
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
17-
}
18-
19-
maven {
20-
url = uri("https://jitpack.io")
21-
}
22-
23-
maven {
24-
url = uri("https://repo.fvdh.dev/releases")
25-
}
26-
11+
maven("https://nexus.velocitypowered.com/repository/maven-public/")
12+
maven("https://oss.sonatype.org/content/repositories/snapshots/")
13+
maven("https://jitpack.io")
14+
maven("https://repo.fvdh.dev/releases")
2715
}
2816

2917
dependencies {
3018
shadow("com.github.simplix-softworks:simplixstorage:3.2.3")
3119
shadow("net.kyori:adventure-text-minimessage:4.2.0-SNAPSHOT"){
3220
exclude("net.kyori", "adventure-api")
3321
}
34-
compileOnly("net.frankheijden.serverutils:ServerUtils:3.1.1")
22+
compileOnly("net.frankheijden.serverutils:ServerUtils:3.2.0")
3523

36-
compileOnly("com.velocitypowered:velocity-api:3.0.1")
37-
annotationProcessor("com.velocitypowered:velocity-api:3.0.1")
24+
compileOnly("com.velocitypowered:velocity-api:3.1.0")
25+
annotationProcessor("com.velocitypowered:velocity-api:3.1.0")
26+
27+
testImplementation("com.github.simplix-softworks", "simplixstorage", "3.2.3")
28+
testImplementation(platform("org.junit:junit-bom:5.8.1"))
29+
testImplementation("org.junit.jupiter:junit-jupiter")
3830
}
3931

4032
group = "net.dreamerzero.chatregulator"
41-
version = "1.4.0"
33+
version = "1.5.0"
4234
description = "A Chat regulator for you Velocity network"
4335
java.sourceCompatibility = JavaVersion.VERSION_11
4436

@@ -65,6 +57,12 @@ tasks {
6557
target = shadowJar.get()
6658
prefix = "net.dreamerzero.chatregulator.libs"
6759
}
60+
test {
61+
useJUnitPlatform()
62+
testLogging {
63+
events("passed", "skipped", "failed")
64+
}
65+
}
6866
}
6967

7068
tasks.withType<JavaCompile>() {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

Lines changed: 153 additions & 104 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)