buildscript { ext { springBootVersion = '1.5.4.RELEASE' } repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") } } apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'org.springframework.boot' version = '0.0.1-SNAPSHOT' sourceCompatibility = 11 repositories { mavenLocal() mavenCentral() } ext { springCloudVersion = 'Dalston.SR2' } dependencies { compile('org.springframework.boot:spring-boot-starter-amqp') testCompile('org.springframework.boot:spring-boot-starter-test') } bootRun{ // jvmArgs = ["-Xdebug", "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006"] systemProperties = System.properties }