bodiam
10/25/2019, 1:13 AMkotlinc -jvm-target 1.8 -cp /usr/local/Cellar/kotlin/1.3.50/libexec/lib/kotlin-main-kts.jar -script find-s3-by-tag.main.kts
, but there's more issues, such as:
- @file:DependsOn
blocks the whole IDE while it's retrieving dependencies,
- running the scripts from IntelliJ results in weird errors:
error: calls to static methods in Java interfaces are prohibited in JVM target 1.6. Recompile with '-jvm-target 1.8' (find-rds-by-tag.main.kts:46:28)
find-rds-by-tag.main.kts:25:31: error: calls to static methods in Java interfaces are prohibited in JVM target 1.6. Recompile with '-jvm-target 1.8'
val stsClient = StsClient.builder()
(though I'm running on 1.8, and all settings are also on 1.8, yet still I can't execute the scripts). For most of them there are existing issues, or I've created issues but the above experience gives me the impression that Kotlin scripting is still in it's early stages. I'm just wondering what the current state is and I'm hoping that 1.3.60 will solve many of these issues.ilya.chernikov
10/28/2019, 3:03 PMbodiam
10/28/2019, 10:51 PMbodiam
10/28/2019, 10:52 PMbodiam
10/28/2019, 10:54 PMbodiam
10/28/2019, 10:54 PMbodiam
10/28/2019, 10:55 PM~ epragt$ vim list_folders.kts
~ epragt$ kotlinc -script list_folders.kts /tmp
error: unable to instantiate class List_folders (list_folders.kts): java.lang.NoClassDefFoundError: kotlin/script/templates/standard/ScriptTemplateWithArgs
bodiam
10/28/2019, 10:56 PMpabl0rg
11/09/2019, 4:32 AMbodiam
11/11/2019, 6:58 AMpabl0rg
11/14/2019, 3:04 PMbodiam
11/14/2019, 11:20 PM