apply plugin: 'java'
apply plugin: 'spring-boot'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath('org.springframework.boot:spring-boot-gradle-plugin:1.1.4.RELEASE')
}
}
run {
environment = ['ENV' : 'dev']
maxHeapSize = '512M'
systemProperties = ['serverPort':'8085']
}
springBoot {
mainClass = 'com.test.Application'
}
repositories {
mavenCentral()
}
dependencies {
...
}