We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 194b2d4 commit 0e1711eCopy full SHA for 0e1711e
1 file changed
build.gradle.kts
@@ -70,6 +70,9 @@ tasks {
70
group = "build"
71
description = "Execute ZenithProxy With Plugin"
72
classpath = sourceSets.main.get().runtimeClasspath
73
+ // filter out duplicate classpath entries
74
+ // we want zenith to load our plugin classes from the run directory like it would in prod
75
+ .filter { !it.path.contains(layout.buildDirectory.asFile.get().path) }
76
workingDir = runDirectory.asFile
77
mainClass.set("com.zenith.Proxy")
78
jvmArgs = listOf("-Xmx300m", "-XX:+UseG1GC")
0 commit comments