Skip to content

Commit

Permalink
Support for Quarkus Rest (#1337)
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy authored Mar 15, 2024
1 parent ddc0278 commit 8bf641d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,15 @@ private void checkNewCache(PlatformServiceCache newCache) throws IOException, Qu
.extensions(Set.of("resteasy", "resteasy-jackson", "hibernate-validator")).build(),
false,
true);

Set<String> extensions = entry.getValue().extensionsById().containsKey("io.quarkus:quarkus-rest")
? Set.of("rest", "rest-jackson", "hibernate-validator")
: Set.of("resteasy-reactive", "resteasy-reactive-jackson", "hibernate-validator");

projectService.createTmp(
entry.getValue(),
ProjectDefinition.builder().streamKey(entry.getKey())
.extensions(Set.of("resteasy-reactive", "resteasy-reactive-jackson", "hibernate-validator"))
.extensions(extensions)
.build(),
false,
true);
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>3.8.1</quarkus.platform.version>
<quarkus.platform.version>3.8.2</quarkus.platform.version>

<skipITs>true</skipITs>
<surefire-plugin.version>3.2.5</surefire-plugin.version>
<quarkus-web-bundler.version>1.3.0</quarkus-web-bundler.version>
<quarkus-web-bundler.version>1.4.0.CR1</quarkus-web-bundler.version>
<quarkus-playwright.version>0.0.1</quarkus-playwright.version>

<formatter.plugin.version>2.23.0</formatter.plugin.version>
Expand Down

0 comments on commit 8bf641d

Please sign in to comment.