Codegen not working
gaurav4j-xx opened this issue · 2 comments
gaurav4j-xx commented
Hi
I was following your tutorial and was actually creating the todo backend service on my local machine. Looks like the code generation doesn't works for me.
I even downloaded the code from your repo and build that too but TodoConverter.java doesn't gets generated post compilation. (I purposely deleted the generated folder before compile/build the project)
sczyh30 commented
Hi, the code generation should be executed during the annotationProcessing
task defined in build.gradle
(and the build
task depends on it). You may try to execute gradle annotationProcessing
and see if there are any error hints. Be sure your Gradle version >= 2.12 (or use gradlew directly).
gaurav4j-xx commented
Thanks, mate. Working now. 👍