Skip to content

Commit 3f69d9a

Browse files
committed
Use configured project name for the plugin directory sync
1 parent e97d7e4 commit 3f69d9a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle.kts

+3-2
Original file line numberDiff line numberDiff line change
@@ -306,12 +306,13 @@ tasks.clean { delete(generate) }
306306

307307
tasks.withType<PrepareSandboxTask> {
308308
pluginJar.set(tasks.jar.get().archiveFile)
309+
val pluginDirName = intellijPlatform.projectName.get()
309310
from(externalAnnotationsJar) {
310-
into("Minecraft Development/lib/resources")
311+
into("$pluginDirName/lib/resources")
311312
}
312313
from("templates") {
313314
exclude(".git")
314-
into("Minecraft Development/lib/resources/builtin-templates")
315+
into("$pluginDirName/lib/resources/builtin-templates")
315316
}
316317
}
317318

0 commit comments

Comments
 (0)