import org.gradle.api.artifacts.result.UnresolvedDependencyResult;

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

repositories {
	mavenLocal()
	mavenCentral()
}

apply plugin: 'spring-boot'
apply plugin: 'war'

dependencies {	
	compile 'org.springframework.boot:spring-boot-starter-freemarker'
	providedRuntime "org.springframework.boot:spring-boot-starter-$servletContainer"
}

springBoot {
	mainClass = 'foo.bar.Baz'
}