mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
LSP-364 [lsp] fix fileTemplates loading
1. Switch to platform PathClassLoader 2. Build LSP zips with dir index GitOrigin-RevId: 1e1aca960d41f7f2d2bf67b0b2b637f36408f618
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e4ee59e043
commit
2d970ca167
@@ -38,6 +38,11 @@ internal interface NativeFileHandler {
|
||||
suspend fun sign(name: String, dataSupplier: () -> ByteBuffer): Path?
|
||||
}
|
||||
|
||||
suspend fun buildUncompressJarWithDirEntries(targetFile: Path, sources: List<Source>) {
|
||||
// addDirEntries=true has no effect when compress=true
|
||||
buildJar(targetFile = targetFile, sources = sources, nativeFileHandler = null, addDirEntries = true, compress = false)
|
||||
}
|
||||
|
||||
suspend fun buildJar(targetFile: Path, sources: List<Source>, compress: Boolean = false) {
|
||||
buildJar(targetFile = targetFile, sources = sources, nativeFileHandler = null, addDirEntries = false, compress = compress)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user