jira-importer commented on issue #294:
URL: 
https://github.com/apache/maven-invoker-plugin/issues/294#issuecomment-2957777842

   **[Dariusz 
Kuc](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dk_apache)** 
commented
   
   While it would be great to support kts scripts I don't think it is feasible 
at this moment. It looks like kts support is still fairly limited - basically 
it can only be run from command line through _kotlinc_ compiler (as per 
https://kotlinlang.org/docs/tutorials/command-line.html#using-the-command-line-to-run-scripts).
   
   There is also undocumented [_script_ goal provided by 
_kotlin-maven-plugin_|[https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-maven-plugin/src/main/java/org/jetbrains/kotlin/maven/ExecuteKotlinScriptMojo.java](https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-maven-plugin/src/main/java/org/jetbrains/kotlin/maven/ExecuteKotlinScriptMojo.java))]
 that can be used to run arbitrary Kotlin scripts but it does so by invoking 
the compiler as well.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to