buildscript {
	repositories {
		mavenLocal()
		mavenCentral()
	}
	dependencies {
		classpath("org.springframework.boot:spring-boot-gradle-plugin:${project.bootVersion}")
		classpath("org.springframework:springloaded:${project.springLoadedVersion}")
	}
}

apply plugin: 'application'
apply plugin: 'java'
apply plugin: 'org.springframework.boot'

repositories {
	mavenLocal()
	mavenCentral()
}

dependencies {
	compile("org.springframework.boot:spring-boot-starter")
}

applicationDefaultJvmArgs = [
	"-DSOME_ARG=someValue"
]

jar {
	baseName = 'spring-loaded-jvm-args'
}