These tutorials target Micronaut Framework 3. Read, Guides for Micronaut Framework 4.

git

Adding Commit Info to your Micronaut Application

Expose the exact version of code that your application is running.

JavaKotlinGroovy
Gradle ReadReadRead
Maven ReadReadRead