How to use classpath from manifestcp in runtime compiler?

We have a large number of entries in classpath which are merged into a Classpath.jar by Hadoop. This jar is added in the CLASSPATH environment variable.

Now when launching a Scala interpreter, we are using settings to determine classpath behavior. We want to use the jars which are added in manifest in the following classpath jar. I tried to use usemanifestcp setting but that did not work. Does anyone know if this is possible in Scala?

Compiler Setting:
settings.usejavacp.value = true
settings.usemanifestcp.value = true

Classpath:
@set CLASSPATH=D:/tmp/nm-local-dir/usercache/appcache/application_1628418013009_0019/container_1628418013009_0019_01_000001/classpath-1046317229199311459.jar;D:/tmp/nm-local-dir/usercache/appcache/application_1628418013009_0019/container_1628418013009_0019_01_000001/__spark_libs__/*