Skip to content

Commit

Permalink
jooby apt: update jooby-cli
Browse files Browse the repository at this point in the history
- Sync code generator to new annotation processor ref #2968
  • Loading branch information
jknack committed Jun 2, 2024
1 parent 4d5ea35 commit 0320844
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/jooby-cli/src/main/resources/cli/App.java.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class App extends Jooby {
install(new OpenAPIModule());
{{/if}}
{{#if mvc}}
mvc(new Controller());
mvc(new Controller_());
{{else}}
get("/", ctx -> "Welcome to Jooby!");
{{/if}}
Expand Down
2 changes: 1 addition & 1 deletion modules/jooby-cli/src/main/resources/cli/App.kt.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class App: Kooby({
install(OpenAPIModule())
{{/if}}
{{#if mvc}}
mvc(Controller())
mvc(Controller_())
{{else}}
get("/") {
"Welcome to Jooby!"
Expand Down
1 change: 1 addition & 0 deletions modules/jooby-cli/src/main/resources/cli/pom.xml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
{{/if}}
<execution>
<id>compile</id>
{{#if kapt}}<phase>process-sources</phase>{{/if}}
<goals>
<goal>compile</goal>
</goals>
Expand Down

0 comments on commit 0320844

Please sign in to comment.