Gavin Ray
01/20/2023, 8:55 PM.kts
files or `repl`'s.
Is there a way I can make a custom Gradle task in our build.gradle.kts
that launches a .kts
script that has our project code and library modules on the classpath for them?
Thank you!ephemient
01/21/2023, 2:46 AMephemient
01/21/2023, 2:52 AMAdam S
01/21/2023, 8:48 AMtapchicoma
01/21/2023, 10:54 AMGavin Ray
01/21/2023, 4:04 PMGavin Ray
01/21/2023, 4:05 PMjava
-Dkotlin.repl.ideMode=true -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8
@/mnt/c/Users/rayga/AppData/Local/Temp/idea_arg_file194049547
org.jetbrains.kotlin.cli.jvm.K2JVMCompiler -jvm-target 1.8 -kotlin-home /mnt/c/Users/rayga/AppData/Local/JetBrains/Toolbox/apps/IDEA-U/ch-0/223.8617.20/plugins/Kotlin/kotlinc
Gavin Ray
01/21/2023, 4:06 PMGavin Ray
01/21/2023, 4:06 PM@/mnt/c/Users/rayga/AppData/Local/Temp/idea_arg_file194049547
were empty, I built a whole application to monitor /Temp
for new files and log the contents of the idea_arg
for nothing!ephemient
01/21/2023, 4:06 PMGavin Ray
01/21/2023, 4:07 PMjava
-Dkotlin.repl.ideMode=true
org.jetbrains.kotlin.cli.jvm.K2JVMCompiler
-jvm-target 1.8
-kotlin-home plugins/Kotlin/kotlinc
Gavin Ray
01/21/2023, 4:08 PMephemient
01/21/2023, 4:09 PMephemient
01/21/2023, 5:48 PM$ ./gradlew repl && build/repl
BUILD SUCCESSFUL in 1s
4 actionable tasks: 1 executed, 3 up-to-date
ki-shell 0.5.2/1.8.0
type :h for help
[0]
and have access to code in src/main/kotlin/**
from thereephemient
01/21/2023, 5:51 PMGavin Ray
01/21/2023, 6:23 PM