Skip to content

Commit

Permalink
Cleanup dependencies & relocation
Browse files Browse the repository at this point in the history
  • Loading branch information
JvstvsHD committed Jan 2, 2025
1 parent 06923ad commit de1ad88
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@

import de.jvstvshd.necrify.api.event.NecrifyEvent;
import de.jvstvshd.necrify.api.punishment.log.PunishmentLogEntry;
import org.jetbrains.annotations.ApiStatus;

/**
* An event that is called when a punishment log entry is created.
* This part of the Event API is experimental and may be subject to change or may not work yet fully and under all circrumstances.
*/
@ApiStatus.Experimental
public class PunishmentLogEvent extends NecrifyEvent {

private final PunishmentLogEntry action;
Expand Down
16 changes: 11 additions & 5 deletions necrify-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,23 @@ dependencies {
api(projects.necrifyApi)
api(libs.bundles.jackson)
runtimeDownload(libs.bundles.database.drivers) {
exclude(group = "org.slf4j", module = "slf4j-api")
exclude(group = "org.slf4j")
}
compileOnly(libs.bundles.database.drivers)
api(libs.bundles.database.helper) {
exclude(group = "org.slf4j")
}
api(libs.bundles.cloud) {
exclude(group = "net.kyori")
}
api(libs.bundles.database.helper)
api(libs.bundles.cloud)
compileOnly(libs.cloud.brigadier)
compileOnly(libs.brigadier)
annotationProcessor(libs.cloud.annotations)
compileOnly(libs.slf4j.api)
compileOnly("com.google.code.gson:gson:2.11.0")
compileOnly(libs.bundles.adventure)
api(libs.adventure.text.feature.pagination)
api(libs.adventure.text.feature.pagination) {
exclude(group = "net.kyori")
}
testImplementation(libs.junit.jupiter.api)
testRuntimeOnly(libs.junit.jupiter.engine)
}
Expand Down
4 changes: 3 additions & 1 deletion necrify-velocity/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ repositories {

dependencies {
api(projects.necrifyApi)
compileOnly(libs.bundles.database.drivers)
api(projects.necrifyCommon)
api(libs.cloud.velocity)
api(libs.minecraftdependencydownload.velocity)
compileOnly(libs.bundles.database.drivers)
compileOnly(libs.cloud.brigadier)
annotationProcessor(libs.velocity.api)
compileOnly(libs.velocity.api)
compileOnly(libs.luckperms.api)
Expand Down Expand Up @@ -84,6 +85,7 @@ tasks {
relocate("org.objectweb.asm", prefix("objectweb.asm"))
relocate("org.apache.commons", prefix("commons"))
relocate("org.checkerframework", prefix("checkerframework"))
relocate("org.greenrobot.eventbus", prefix("greenrobot.eventbus"))
relocate("org.incendo.cloud", prefix("cloud"))
relocate("org.intellij.lang.annotations", prefix("intellij.lang.annotations"))
relocate("org.jetbrains.annotations", prefix("jetbrains.annotations"))
Expand Down

0 comments on commit de1ad88

Please sign in to comment.