Skip to content

Commit

Permalink
Use an unlikely-to-be-used port when updating changelog (#2718)
Browse files Browse the repository at this point in the history
When a developer has a running stack on their machine on the standard
port 8080, running the `diffChangeLog` task fails because of a port
conflict.

This change uses another port which should be free on most machines in
most cases.

Co-authored-by: StaNov <[email protected]>
  • Loading branch information
StaNov and StaNov authored Nov 25, 2024
1 parent b1f9022 commit 46c11be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ project(':server-app').afterEvaluate {


doFirst {
project(':server-app').bootRun.systemProperty('spring.profiles.active', 'dbschema')
project(':server-app').bootRun
.systemProperty('spring.profiles.active', 'dbschema')
// Use an unlikely-to-be-used port
.systemProperty('server.port', '61987')
}
}
}
Expand Down

0 comments on commit 46c11be

Please sign in to comment.