vertx-lang-kotlin
vertx-lang-kotlin copied to clipboard
Router DSL
Hello All,
This pull request includes the Router DSL that I am working on. See #91
Any feedback is welcome!
Tim
@vietj As far as testing the DSL how would you like that to be done?
I would normally use mockk to perform the testing but I'm not sure if its okay to add a new dependency to the project.
Directory src/main/kotlin will be removed by the clean task,
https://github.com/vert-x3/vertx-lang-kotlin/blob/c208e3a0760156b8a4cffe681daa31d0127a6ee7/vertx-lang-kotlin/pom.xml#L808-L817
So it is recommended to move the code to the src/main/java directory.
Directory
src/main/kotlinwill be removed by the clean task,https://github.com/vert-x3/vertx-lang-kotlin/blob/c208e3a0760156b8a4cffe681daa31d0127a6ee7/vertx-lang-kotlin/pom.xml#L808-L817
So it is recommended to move the code to the
src/main/javadirectory. @okou19900722
Maybe I'm not understanding but all the source files for this project are in src/man/kotlin am I messing something?
I've included what I'm seeing in intellij below:
@Tim-Britton have you check the src/main/java yet?
the extension function is generated to src/main/kotlin by vertx-codegen, so sometimes, If you execute mvn clean, directory src/main/kotlin will be removed
Superseded by #253