kscript
kscript copied to clipboard
Scripting enhancements for Kotlin
Using Gradle 8.1, on a fresh checkout of this repository, the command `gradle run` fails. Other tasks such as `gradle build`, `gradle assemble` seem to create the expected artifacts, but...
I have a simple setup where packaging a script with a local dependency fails, because the local dependency is not included in the package. Here is the project: ```console $...
If one wanted to use the kotlin package with Android Studio, the KOTLIN_HOME variable would look something similar to: `export KOTLIN_HOME="/Applications/Android\ Studio.app/Contents/plugins/Kotlin/kotlinc"` However, the execution of the script fails at...
While caching compiled code is great, one of the concerns I have while trying Kotlin scripting is startup time. **What's your opinion on possibility of JVM running as daemon, ready...
In some contexts, you don't want kscript to print a "[ERROR] Execution of scriplet failed:" with the command output, since the error information is all supplied by the script. Either...
I want to do this: ```kotlin class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) kscript.eval("val x =3") val result = kscript.eval("x+2") Log.d("test", "onCreate: result=$result") } } ```...
Create symlinks, if kotlin binary files installed in `/usr/bin` and not in `/usr/share/kotlin/bin` (it's true with official [`kotlin` ](https://archlinux.org/packages/community/any/kotlin/) package). This should fix #371
Resolves https://github.com/kscripting/kscript/issues/402. The manual tests for an authenticated repo were not complete. Fixed and improved the test artifactory server startup. Added a manual test for environment variable substitution (test 4)....
In kscript 4.2.2, environment variable substitution for repositories no longer works. The first problem is that the syntax is no longer `{{FOO}}` -- since the backend is now kotlin scripting,...