Skip to content

Commit f5602f5

Browse files
committed
Add a banner text for during startup of the application.
1 parent f41a9e1 commit f5602f5

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

fintrack-api/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ tasks.check {
3434
dependsOn("itTest")
3535
}
3636

37+
tasks.processResources {
38+
filesMatching("**/micronaut-banner.txt") {
39+
filter { line ->
40+
var updated = line.replace("\${application.version}", project.version.toString())
41+
updated.replace("\${micronaut.version}", properties.get("micronautVersion").toString())
42+
}
43+
}
44+
}
45+
3746
dependencies {
3847
annotationProcessor(mn.micronaut.openapi.asProvider())
3948
annotationProcessor(mn.micronaut.http.validation)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
_____ _ _ _
2+
| __ \| | | | (_)
3+
| |__) | | ___ __| | __ _ ___ _ __ _ ___
4+
| ___/| |/ _ \/ _` |/ _` |/ _ \ '__| | |/ _ \
5+
| | | | __/ (_| | (_| | __/ | _| | (_) |
6+
|_| |_|\___|\__,_|\__, |\___|_| (_)_|\___/
7+
__/ |
8+
|___/
9+
10+
:: Pledger.io :: (v${application.version})
11+
12+
Your Personal Finance Tracker
13+
14+
Build using Micronaut v${micronaut.version}.

0 commit comments

Comments
 (0)