Add base work for recipes
- Better state sync handling #35 - Adding first recipe for synching and persisting a state # 73
This commit is contained in:
22
build.gradle
22
build.gradle
@@ -11,6 +11,12 @@ buildscript {
|
||||
}
|
||||
}
|
||||
|
||||
def recipeProjects() {
|
||||
subprojects.findAll { project ->
|
||||
project.name.contains('spring-statemachine-recipes') && project.name != 'spring-statemachine-recipes-common'
|
||||
}
|
||||
}
|
||||
|
||||
def sampleProjects() {
|
||||
subprojects.findAll { project ->
|
||||
project.name.contains('spring-statemachine-samples') && project.name != 'spring-statemachine-samples-common'
|
||||
@@ -136,6 +142,22 @@ project('spring-statemachine-zookeeper') {
|
||||
}
|
||||
}
|
||||
|
||||
configure(recipeProjects()) {
|
||||
dependencies {
|
||||
compile project(":spring-statemachine-recipes-common")
|
||||
testCompile "org.springframework:spring-test:$springVersion"
|
||||
testCompile "org.hamcrest:hamcrest-core:$hamcrestVersion"
|
||||
testCompile "org.hamcrest:hamcrest-library:$hamcrestVersion"
|
||||
testCompile "junit:junit:$junitVersion"
|
||||
}
|
||||
}
|
||||
|
||||
project('spring-statemachine-recipes-common') {
|
||||
dependencies {
|
||||
compile project(":spring-statemachine-core")
|
||||
}
|
||||
}
|
||||
|
||||
configure(sampleProjects()) {
|
||||
apply plugin: 'spring-boot'
|
||||
configurations.archives.artifacts.removeAll { it.archiveTask.is jar }
|
||||
|
||||
Reference in New Issue
Block a user