Skip to content

Commit 0320844

Browse files
committed
jooby apt: update jooby-cli
- Sync code generator to new annotation processor ref #2968
1 parent 4d5ea35 commit 0320844

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

modules/jooby-cli/src/main/resources/cli/App.java.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class App extends Jooby {
1414
install(new OpenAPIModule());
1515
{{/if}}
1616
{{#if mvc}}
17-
mvc(new Controller());
17+
mvc(new Controller_());
1818
{{else}}
1919
get("/", ctx -> "Welcome to Jooby!");
2020
{{/if}}

modules/jooby-cli/src/main/resources/cli/App.kt.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class App: Kooby({
1313
install(OpenAPIModule())
1414
{{/if}}
1515
{{#if mvc}}
16-
mvc(Controller())
16+
mvc(Controller_())
1717
{{else}}
1818
get("/") {
1919
"Welcome to Jooby!"

modules/jooby-cli/src/main/resources/cli/pom.xml.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
{{/if}}
105105
<execution>
106106
<id>compile</id>
107+
{{#if kapt}}<phase>process-sources</phase>{{/if}}
107108
<goals>
108109
<goal>compile</goal>
109110
</goals>

0 commit comments

Comments
 (0)