description = 'Spring State Machine Samples Common'

project('spring-statemachine-samples-turnstile') {
  description = 'Spring State Machine Turnstile Sample'
}

project('spring-statemachine-samples-showcase') {
  description = 'Spring State Machine Showcase Sample'
}

project('spring-statemachine-samples-cdplayer') {
  description = 'Spring State Machine CD Player Sample'
}

project('spring-statemachine-samples-tasks') {
  description = 'Spring State Machine Parallel Regions Sample'
}

project('spring-statemachine-samples-washer') {
  description = 'Spring State Machine History State Sample'
}

project('spring-statemachine-samples-zookeeper') {
  description = 'Spring State Machine Distributed Sample'
}

project('spring-statemachine-samples-persist') {
	description = 'Spring State Machine Persist Sample'
	dependencies {
		compile project(":spring-statemachine-recipes-common")
		compile ("org.hsqldb:hsqldb:2.3.1")
		compile ("org.springframework:spring-jdbc:$springVersion")
	}
}

project('spring-statemachine-samples-web') {
	description = 'Spring State Machine Web Sample'
	dependencies {
		compile("org.springframework.boot:spring-boot-starter-security:$springBootVersion")
		compile("org.springframework.boot:spring-boot-starter-web:$springBootVersion")
		compile("org.springframework.boot:spring-boot-starter-websocket:$springBootVersion")
		compile("org.springframework:spring-webmvc:$springVersion")
		compile("org.springframework:spring-websocket:$springVersion")
		compile("org.springframework.security:spring-security-messaging:$springSecurityVersion")
		compile("org.springframework.session:spring-session:$springSessionVersion")
	}
}

project('spring-statemachine-samples-scope') {
	description = 'Spring State Machine Web Scope Sample'
	dependencies {
		compile("org.springframework.boot:spring-boot-starter-thymeleaf:$springBootVersion")
//		compile("org.springframework.boot:spring-boot-starter-web:$springBootVersion")
//		compile("org.springframework:spring-webmvc:$springVersion")
	}
}

project('spring-statemachine-samples-security') {
	description = 'Spring State Machine Web Security Sample'
	dependencies {
		compile("org.springframework.boot:spring-boot-starter-thymeleaf:$springBootVersion")
		compile("org.springframework.boot:spring-boot-starter-security:$springBootVersion")
		compile("org.springframework.security:spring-security-config:$springSecurityVersion")
		compile("org.springframework.security:spring-security-web:$springSecurityVersion")
	}
}
