From 138ea9a3461f9f3ec4800fa8bf93d73564eb0c8a Mon Sep 17 00:00:00 2001 From: QuadStingray Date: Sun, 11 Feb 2024 23:43:26 +0100 Subject: [PATCH] feat: Possibility to use MongoCampServer Version in PluginModule Definition `"$$MC_VERSION$$"` QuadStingray Yesterday 23:18 --- .../dev/mongocamp/server/service/CoursierModuleService.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongocamp-library/src/main/scala/dev/mongocamp/server/service/CoursierModuleService.scala b/mongocamp-library/src/main/scala/dev/mongocamp/server/service/CoursierModuleService.scala index e7785c9a..ef53413d 100755 --- a/mongocamp-library/src/main/scala/dev/mongocamp/server/service/CoursierModuleService.scala +++ b/mongocamp-library/src/main/scala/dev/mongocamp/server/service/CoursierModuleService.scala @@ -37,7 +37,7 @@ object CoursierModuleService extends LazyLogging { def loadMavenConfiguredDependencies(): List[File] = { val modules = ConfigurationRead.noPublishReader.getConfigValue[List[String]](DefaultConfigurations.ConfigKeyPluginsModules) - loadMavenConfiguredDependencies(modules.map(mName => mName.replace(pnpp, BuildInfo.version))) + loadMavenConfiguredDependencies(modules.map(mName => mName.replace("$$MC_VERSION$$", BuildInfo.version))) } def loadMavenConfiguredDependencies(dependencyStrings: List[String]): List[File] = {