From c50f89ffd1a04ef613755742f0e36725a440494d Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Wed, 23 Aug 2023 09:19:58 -0700 Subject: [PATCH] velocity: update asm & relocations --- velocity/build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/velocity/build.gradle.kts b/velocity/build.gradle.kts index ce944adc..91da0469 100644 --- a/velocity/build.gradle.kts +++ b/velocity/build.gradle.kts @@ -17,6 +17,13 @@ dependencies { runtimeDownload(libs.mysql) } +configurations.runtimeClasspath { + resolutionStrategy.force( + "org.ow2.asm:asm:9.5", + "org.ow2.asm:asm-commons:9.5", + ) +} + tasks { shadowJar { relocateCloud() @@ -29,6 +36,7 @@ tasks { writeDependencies { standardRuntimeRelocations() relocateDependency("com.google.inject.assistedinject") + relocateDependency("io.leangen.geantyref") } runVelocity { velocityVersion(libs.versions.velocityApi.get())