|
1 | 1 | description = 'Spring State Machine Data Common'
|
2 | 2 |
|
3 | 3 | project('spring-statemachine-data-jpa') {
|
| 4 | + apply from: "$rootDir/gradle/java-test-fixtures.gradle" |
4 | 5 | description = 'Spring State Machine Data Jpa'
|
| 6 | + |
5 | 7 | dependencies {
|
6 |
| - compile project(':spring-statemachine-data-common') |
7 |
| - compile 'org.springframework:spring-orm' |
8 |
| - testCompile project(':spring-statemachine-test') |
9 |
| - testCompile project(path:':spring-statemachine-data-common', configuration:'testArtifacts') |
10 |
| - testCompile project(path:':spring-statemachine-core', configuration:'testArtifacts') |
11 |
| - testCompile 'io.projectreactor:reactor-test' |
| 8 | + api project(':spring-statemachine-data-common') |
| 9 | + api 'org.springframework:spring-orm' |
| 10 | + testImplementation project(':spring-statemachine-test') |
| 11 | + testImplementation(testFixtures(project(":spring-statemachine-data-common"))) |
| 12 | + testImplementation(testFixtures(project(":spring-statemachine-core"))) |
| 13 | + testImplementation 'io.projectreactor:reactor-test' |
12 | 14 | optional 'org.eclipse.persistence:javax.persistence'
|
13 |
| - testCompile 'org.hsqldb:hsqldb' |
14 |
| - testCompile 'org.springframework.boot:spring-boot-starter-test' |
15 |
| - testRuntime 'org.springframework.boot:spring-boot-starter-data-jpa' |
16 |
| - testRuntime 'org.springframework.boot:spring-boot-starter-web' |
| 15 | + testImplementation 'org.hsqldb:hsqldb' |
| 16 | + testImplementation 'org.springframework.boot:spring-boot-starter-test' |
| 17 | + testRuntimeOnly 'org.springframework.boot:spring-boot-starter-data-jpa' |
| 18 | + testRuntimeOnly 'org.springframework.boot:spring-boot-starter-web' |
17 | 19 | }
|
18 | 20 | }
|
19 | 21 |
|
20 | 22 | project('spring-statemachine-data-redis') {
|
| 23 | + apply from: "$rootDir/gradle/java-test-fixtures.gradle" |
21 | 24 | description = 'Spring State Machine Data Redis'
|
| 25 | + |
22 | 26 | dependencies {
|
23 |
| - compile project(':spring-statemachine-data-common') |
24 |
| - compile 'org.springframework.data:spring-data-redis' |
25 |
| - testCompile project(':spring-statemachine-test') |
| 27 | + api project(':spring-statemachine-data-common') |
| 28 | + api 'org.springframework.data:spring-data-redis' |
| 29 | + testImplementation project(':spring-statemachine-test') |
26 | 30 | optional 'org.eclipse.persistence:javax.persistence'
|
27 |
| - testCompile project(path:':spring-statemachine-data-common', configuration:'testArtifacts') |
28 |
| - testCompile project(path:':spring-statemachine-core', configuration:'testArtifacts') |
29 |
| - testCompile 'io.projectreactor:reactor-test' |
30 |
| - testCompile 'org.springframework.boot:spring-boot-starter-test' |
31 |
| - testRuntime 'org.apache.commons:commons-pool2' |
32 |
| - testRuntime 'redis.clients:jedis' |
33 |
| - testRuntime 'org.springframework.boot:spring-boot-starter-data-redis' |
34 |
| - testRuntime 'org.springframework.boot:spring-boot-starter-web' |
| 31 | + testImplementation(testFixtures(project(":spring-statemachine-data-common"))) |
| 32 | + testImplementation(testFixtures(project(":spring-statemachine-core"))) |
| 33 | + testImplementation 'io.projectreactor:reactor-test' |
| 34 | + testImplementation 'org.springframework.boot:spring-boot-starter-test' |
| 35 | + testRuntimeOnly 'org.apache.commons:commons-pool2' |
| 36 | + testRuntimeOnly 'redis.clients:jedis' |
| 37 | + testRuntimeOnly 'org.springframework.boot:spring-boot-starter-data-redis' |
| 38 | + testRuntimeOnly 'org.springframework.boot:spring-boot-starter-web' |
35 | 39 | }
|
36 | 40 | }
|
37 | 41 |
|
38 | 42 | project('spring-statemachine-data-mongodb') {
|
| 43 | + apply from: "$rootDir/gradle/java-test-fixtures.gradle" |
39 | 44 | description = 'Spring State Machine Data MongoDB'
|
| 45 | + |
40 | 46 | dependencies {
|
41 |
| - compile project(':spring-statemachine-data-common') |
42 |
| - compile 'org.springframework.data:spring-data-mongodb' |
43 |
| - testCompile project(':spring-statemachine-test') |
| 47 | + api project(':spring-statemachine-data-common') |
| 48 | + api 'org.springframework.data:spring-data-mongodb' |
| 49 | + testImplementation project(':spring-statemachine-test') |
44 | 50 | optional 'org.eclipse.persistence:javax.persistence'
|
45 |
| - testCompile project(path:':spring-statemachine-data-common', configuration:'testArtifacts') |
46 |
| - testCompile project(path:':spring-statemachine-core', configuration:'testArtifacts') |
47 |
| - testCompile 'io.projectreactor:reactor-test' |
48 |
| - testCompile 'org.springframework.boot:spring-boot-starter-test' |
49 |
| - testRuntime 'org.springframework.boot:spring-boot-starter-data-mongodb' |
50 |
| - testRuntime 'org.springframework.boot:spring-boot-starter-web' |
| 51 | + testImplementation(testFixtures(project(":spring-statemachine-data-common"))) |
| 52 | + testImplementation(testFixtures(project(":spring-statemachine-core"))) |
| 53 | + testImplementation 'io.projectreactor:reactor-test' |
| 54 | + testImplementation 'org.springframework.boot:spring-boot-starter-test' |
| 55 | + testRuntimeOnly 'org.springframework.boot:spring-boot-starter-data-mongodb' |
| 56 | + testRuntimeOnly 'org.springframework.boot:spring-boot-starter-web' |
51 | 57 | }
|
52 | 58 | }
|
0 commit comments