Getting started In this tutorial, we will create a Micronaut application using Gradle. Github Link What you will need Java installed on your machine Gradle installed on your machine Text Editor Steps First create your project folder, we will make a folder called "micronaut-project" for this tutorial. The second step is to add the build.gradle file inside the project folder. This will contain a script to build the Micronaut application. Now update the build.gradle file. 1. Add following plugin plugins { id( "com.github.johnrengelman.shadow" ) version "7.1.1" id( "io.micronaut.application" ) version "3.2.0" } This will help to build application executable jars. 2. Next, add dependencies. dependencies { annotationProcessor( "io.micronaut:micronaut-http-validation" ) implementation( "io.micronaut:micronaut-http-client" ) implementation( "io.micronaut:micronaut-jackson-databind" ) ...
Zainabed.com is a website that contains programming tutorials. These tutorials primarily cover programming technologies like Java, Spring Boot, AngularJS, Web Design, MongoDB, Microservices, and MySQL.