vertx-lang-kotlin
vertx-lang-kotlin copied to clipboard
only the verticle with kt or kts suffix needs to be compiled
like GroovyVerticleFactory and ScalaVerticleFactory
can you add a test with a .kts
file ?
I am not very clear about the compilation process of kts files, because I have always used kotlin as java in use, not as a script. Maybe others can provide more help
@gmariotti can you hint here ?
@vietj not really sure about the compilation process of a kts
, I'll need to investigate it. @okou19900722 you can probably look at https://github.com/JetBrains/kotlin/tree/master/libraries/examples/kotlin-jsr223-local-example to figure out how to do it
jsr223
is an existing feature. I wonder if the kts file will be like a kt file. When it is packaged, it will be compiled by the kotlin plugin.So if the kts file is not compiled, then it should not require a test for kts file.
@vietj @gmariotti
Sorry @okou19900722 , I honestly didn't find a lot of info on kts
files. However, except for the Kotlin Gradle DSL, I haven't see a lot of cases where kts
was used, so I'm not really sure if it makes sense to support this format at all. What do you think @vietj?
Any updates about this pr? Should we merge this pr first and deal with kts suffix/prefix later?
Compiler not supported anymore #166