Skip to content

Commit

Permalink
Fix local installation after #287
Browse files Browse the repository at this point in the history
  • Loading branch information
ileasile committed Jul 12, 2021
1 parent 0a03d7e commit 4d452db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ interface InstallOptions {
val jarArgsFile: String
val runKernelDir: String
val runKernelPy: String
val kotlinKernelModule: String
val setupPy: String
val kernelFile: String
val mainClassFQN: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ fun ProjectWithOptions.prepareLocalTasks() {
group = localGroup
dependsOn("cleanInstallDirLocal")
from(distributionPath.resolve(runKernelDir).resolve(runKernelPy))
from(distributionPath.resolve(kotlinKernelModule)) {
into(kotlinKernelModule)
}
into(installPathLocal)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ fun Project.options(): AllOptions {
// Straight slash is used 'cause it's universal across the platforms, and is used in jar_args config
override val jarArgsFile = "$configDir/jar_args.json"
override val runKernelPy = "run_kernel.py"
override val kotlinKernelModule = "kotlin_kernel"
override val kernelFile = "kernel.json"
override val mainClassFQN = "org.jetbrains.kotlinx.jupyter.IkotlinKt"
override val installKernelTaskPrefix = "installKernel"
Expand Down

0 comments on commit 4d452db

Please sign in to comment.