Skip to content

Commit

Permalink
Don't include unused variables for Vert.x 5 (#655)
Browse files Browse the repository at this point in the history
`watchForChange` and `doOnChange` are only used for the Vert.x 4 launcher.
  • Loading branch information
fapdash authored Jan 28, 2025
1 parent 826386f commit 9236fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/templates/build.gradle.kts.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ val mainVerticleName = "${packageName}.MainVerticle"
val launcherClassName = "io.vertx.launcher.application.VertxApplication"
<#else>
val launcherClassName = "io.vertx.core.Launcher"
</#if>

val watchForChange = "src/**/*"
<#noparse>
val doOnChange = "${projectDir}/gradlew classes"
</#noparse>
</#if>

application {
mainClass.set(launcherClassName)
Expand Down

0 comments on commit 9236fed

Please sign in to comment.