From d2442c42646081e749be36e56299f35c0fae31c6 Mon Sep 17 00:00:00 2001 From: Sapphira Tempest Date: Mon, 2 Sep 2024 21:19:47 +0800 Subject: [PATCH] fix: fix a bug that Aetherium.jar is not in the classpath of Etoile --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index db47d13..eb9d0f2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -78,7 +78,7 @@ val createEtoileScriptsTask = tasks.create("createEtoileScri mainClass = "io.sn.aetherium.implementations.crystals.EtoileRessurectionKt" applicationName = "Etoile" outputDir = file("${layout.projectDirectory.dir("build")}/tmp/scripts") - classpath = sourceSets.main.get().runtimeClasspath + classpath = files("Aetherium.jar").plus(sourceSets.main.get().compileClasspath) } tasks.named("distZip") {