User talk:Nipun Phutela

Gradle Build File example

plugins { id 'org.springframework.boot' version '2.2.2.RELEASE' id 'io.spring.dependency-management' version '1.0.8.RELEASE' id 'java' }

group = 'com.example' version = '0.0.1-SNAPSHOT' sourceCompatibility = '1.8'

ext { springBootVersion = '2.2.2.RELEASE' prometheusVersion = '0.4.0' logbookVersion = "1.8.1" }

repositories { mavenCentral maven { url "http://repo.maven.apache.org/maven2" } }

ext { set('springBootAdminVersion', "2.2.1") }

dependencies { compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version:springBootVersion compile group: 'org.springframework.boot', name: 'spring-boot-starter-aop', version: springBootVersion compile group: 'org.springframework.kafka', name: 'spring-kafka' runtimeOnly 'mysql:mysql-connector-java' testImplementation('org.springframework.boot:spring-boot-starter-test') { exclude group: 'org.junit.vintage', module: 'junit-vintage-engine' }	testImplementation 'org.springframework.kafka:spring-kafka-test' }

dependencyManagement { imports { mavenBom "de.codecentric:spring-boot-admin-dependencies:${springBootAdminVersion}" } }

test { useJUnitPlatform }