Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
henryju committed Jul 2, 2021
1 parent 598d499 commit 19bafdb
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,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 Expand Up @@ -310,7 +330,6 @@ tasks {
}
}


sonarqube {
properties {
property("sonar.projectName", "SonarLint for IntelliJ IDEA")
Expand Down Expand Up @@ -366,3 +385,4 @@ signing {
})
sign(configurations.archives.get())
}

0 comments on commit 19bafdb

Please sign in to comment.