plugins { id 'org.springframework.boot' version '2.2.3.BUILD-SNAPSHOT' id 'io.spring.dependency-management' version '1.0.8.RELEASE' id 'java' } group = 'com.example' version = '0.0.1-SNAPSHOT' sourceCompatibility = '1.8' repositories { mavenCentral() maven { url 'https://repo.spring.io/milestone' } maven { url 'https://repo.spring.io/snapshot' } } dependencies { implementation 'org.springframework.boot:spring-boot-starter-web:2.2.0.RELEASE' // Insecure Version implementation 'org.springframework:spring-webmvc:5.2.2.RELEASE' implementation 'org.springframework:spring-web:5.2.2.RELEASE' // Secure Version //implementation 'org.springframework:spring-webmvc:5.2.3.RELEASE' //implementation 'org.springframework:spring-web:5.2.3.RELEASE' testImplementation('org.springframework.boot:spring-boot-starter-test') { exclude group: 'org.junit.vintage', module: 'junit-vintage-engine' } } test { useJUnitPlatform() }