Skip to content
Snippets Groups Projects
Commit b41e6a92 authored by dgelessus's avatar dgelessus
Browse files

Fix weird argument issue in installKernelSpec task

parent b960640e
No related branches found
No related tags found
No related merge requests found
...@@ -79,6 +79,6 @@ task installKernelSpec(type: Exec) { ...@@ -79,6 +79,6 @@ task installKernelSpec(type: Exec) {
executable = project.hasProperty("pythonCommand") ? project.pythonCommand : "python3" executable = project.hasProperty("pythonCommand") ? project.pythonCommand : "python3"
args = [shadowJar.archiveFile.get().asFile, "--jar-path=" + shadowJar.archiveFile.get().asFile, "install"] args = [shadowJar.archiveFile.get().asFile, "--jar-path=" + shadowJar.archiveFile.get().asFile, "install"]
if (project.hasProperty("kernelspecUserInstall") && project.kernelspecUserInstall == "true") { if (project.hasProperty("kernelspecUserInstall") && project.kernelspecUserInstall == "true") {
args << "--user" args("--user")
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment