diff options
author | Roman / Linnea Gräf <roman.graef@gmail.com> | 2023-03-04 02:54:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-04 12:54:50 +1100 |
commit | 5dd063fbba6bde64806a7620541dc2d9bdf42871 (patch) | |
tree | 01aee1a743a32a0b2546513c59a43559ce3085fe /build.gradle.kts | |
parent | db86c98e0c72b18663ef26cd46cef7d53c1d6414 (diff) | |
download | NotEnoughUpdates-5dd063fbba6bde64806a7620541dc2d9bdf42871.tar.gz NotEnoughUpdates-5dd063fbba6bde64806a7620541dc2d9bdf42871.tar.bz2 NotEnoughUpdates-5dd063fbba6bde64806a7620541dc2d9bdf42871.zip |
Replace all commands in NEU with a brigadier implementation (#599)
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index e41aa513..aec078d3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -135,19 +135,21 @@ dependencies { kotlinDependencies(kotlin("stdlib")) compileOnly(ksp(project(":annotations"))!!) - compileOnly("org.projectlombok:lombok:1.18.24") + compileOnly("org.projectlombok:lombok:1.18.24") annotationProcessor("org.projectlombok:lombok:1.18.24") "oneconfigAnnotationProcessor"("org.projectlombok:lombok:1.18.24") + shadowImplementation("com.mojang:brigadier:1.0.18") + shadowImplementation("org.spongepowered:mixin:0.7.11-SNAPSHOT") { isTransitive = false // Dependencies of mixin are already bundled by minecraft } - annotationProcessor("org.spongepowered:mixin:0.8.4-SNAPSHOT") + annotationProcessor("net.fabricmc:sponge-mixin:0.11.4+mixin.0.8.5") @Suppress("VulnerableLibrariesLocal") shadowApi("info.bliki.wiki:bliki-core:3.1.0") testImplementation("org.junit.jupiter:junit-jupiter:5.9.2") - testAnnotationProcessor("org.spongepowered:mixin:0.8.4-SNAPSHOT") + testAnnotationProcessor("net.fabricmc:sponge-mixin:0.11.4+mixin.0.8.5") // modImplementation("io.github.notenoughupdates:MoulConfig:0.0.1") devEnv("me.djtheredstoner:DevAuth-forge-legacy:1.1.0") @@ -233,6 +235,7 @@ tasks.shadowJar { from(kotlinDependencyCollectionJar) dependsOn(kotlinDependencyCollectionJar) fun relocate(name: String) = relocate(name, "io.github.moulberry.notenoughupdates.deps.$name") + relocate("com.mojang.brigadier") } tasks.assemble.get().dependsOn(remapJar) |