Skip to content

Commit

Permalink
fix: update templates
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Jan 25, 2025
1 parent 5e83c07 commit 789425a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/init-qcli.java.qute
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//JAVA 17+
// Update the Quarkus version to what you want here or run jbang with
// `-Dquarkus.version=<version>` to override it.
//DEPS io.quarkus:quarkus-bom:$\{quarkus.version:3.7.2\}@pom
//DEPS io.quarkus:quarkus-bom:$\{quarkus.version:3.15.1\}@pom
//DEPS io.quarkus:quarkus-picocli
{#for dep in dependencies.orEmpty}
//DEPS {dep}
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/init-qmetrics.java.qute
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
//JAVA 17+
// Update the Quarkus version to what you want here or run jbang with
// `-Dquarkus.version=<version>` to override it.
//DEPS io.quarkus:quarkus-bom:$\{quarkus.version:3.7.2\}@pom
//DEPS io.quarkus:quarkus-resteasy
//DEPS io.quarkus:quarkus-bom:$\{quarkus.version:3.15.1\}@pom
//DEPS io.quarkus:quarkus-rest
//DEPS io.quarkus:quarkus-smallrye-metrics
//JAVAC_OPTIONS -parameters

Expand All @@ -13,9 +13,9 @@ import org.eclipse.microprofile.metrics.annotation.Gauge;
import org.eclipse.microprofile.metrics.annotation.Timed;
import org.jboss.resteasy.annotations.jaxrs.PathParam;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import io.quarkus.runtime.Quarkus;

@Path("/")
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/init-qrest.java.qute
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Update the Quarkus version to what you want here or run jbang with
// `-Dquarkus.version=<version>` to override it.
//DEPS io.quarkus:quarkus-bom:$\{quarkus.version:3.15.1\}@pom
//DEPS io.quarkus:quarkus-resteasy
//DEPS io.quarkus:quarkus-rest
// //DEPS io.quarkus:quarkus-smallrye-openapi
// //DEPS io.quarkus:quarkus-swagger-ui
//JAVAC_OPTIONS -parameters
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/init-readme.md.qute
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Welcome to a basic example on how to do a readme.md file that can be run with JB
System.out.println("Hello World");
```

You can run this using `jbang {scriptref}.md`
You can run this using `jbang {scriptref}`

0 comments on commit 789425a

Please sign in to comment.