. . . apply plugin: 'java' apply plugin: 'idea' apply plugin: 'spring-boot' apply plugin: 'war' jar { baseName = 'eventoserver' version = '0.0.1' } repositories { mavenCentral() } dependencies { compile('org.springframework.boot:spring-boot-starter-web') compile('org.springframework.boot:spring-boot-starter-data-jpa') compile('mysql:mysql-connector-java:5.1.16') providedRuntime("org.springframework.boot:spring-boot-starter-tomcat") } configurations { providedRuntime }