Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
henryju committed Jun 11, 2021
1 parent 4c4c82a commit 53796a0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,30 @@ tasks {
copy {
from(zipTree(downloadOmnisharpLinuxZipFile.get().dest))
into(file("$destinationDir/$pluginName/omnisharp/linux"))
exclude("run")
}
// Workaround for https://github.com/OmniSharp/omnisharp-roslyn/pull/1979
copy {
from(zipTree(downloadOmnisharpLinuxZipFile.get().dest))
into(file("$destinationDir/$pluginName/omnisharp/linux"))
include("run")
filter {
it.replace("export MONO_ENV_OPTIONS=\"--assembly-loader=strict --config \${config_file}\"", "export MONO_ENV_OPTIONS=\"--assembly-loader=strict --config \\\"\${config_file}\\\"\"")
}
}
copy {
from(zipTree(downloadOmnisharpOsxZipFile.get().dest))
into(file("$destinationDir/$pluginName/omnisharp/osx"))
exclude("run")
}
// Workaround for https://github.com/OmniSharp/omnisharp-roslyn/pull/1979
copy {
from(zipTree(downloadOmnisharpOsxZipFile.get().dest))
into(file("$destinationDir/$pluginName/omnisharp/osx"))
include("run")
filter {
it.replace("export MONO_ENV_OPTIONS=\"--assembly-loader=strict --config \${config_file}\"", "export MONO_ENV_OPTIONS=\"--assembly-loader=strict --config \\\"\${config_file}\\\"\"")
}
}
copy {
from(zipTree(downloadOmnisharpWindowsZipFile.get().dest))
Expand Down

0 comments on commit 53796a0

Please sign in to comment.