buildscript {
	repositories {
		mavenCentral()
	}
	dependencies {
		classpath("org.springframework.boot:spring-boot-gradle-plugin:$springBootVersion")
	}
}

apply plugin: 'spring-boot'

apply from: JAVA_GRADLE
apply from: TOMCAT_7_GRADLE
apply from: SAMPLE_GRADLE

group = 'samples'

dependencies {
	compile project(':spring-session-data-redis'),
			"org.springframework.boot:spring-boot-starter-web",
			"org.springframework.boot:spring-boot-starter-data-jpa",
			"org.springframework.boot:spring-boot-starter-thymeleaf",
			"org.springframework.boot:spring-boot-starter-websocket",
			"org.springframework:spring-websocket:${springVersion}",
			"org.springframework.data:spring-data-jpa",
			"nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect",
			"org.thymeleaf.extras:thymeleaf-extras-conditionalcomments",
			"org.webjars:bootstrap:$bootstrapVersion",
			"org.webjars:html5shiv:$html5ShivVersion",
			"org.webjars:knockout:2.3.0",
			"org.webjars:sockjs-client:0.3.4",
			"org.webjars:stomp-websocket:2.3.0",
			"com.h2database:h2",
			"org.springframework.security:spring-security-web:$springSecurityVersion",
			"org.springframework.security:spring-security-config:$springSecurityVersion",
			"org.springframework.security:spring-security-messaging:$springSecurityVersion",
			"org.springframework.security:spring-security-data:$springSecurityVersion"


	testCompile "org.springframework.boot:spring-boot-starter-test",
			"org.springframework.security:spring-security-test:$springSecurityVersion"

}
