Overhaul gradle build

- Focus of this commit is to have modern gradle build.
- Migrate most of a plugin configurations from dsl
  into buildSrc.
- This fixes issues with existing docs build.
- Allows to sign files so that we have that part
  done for central in a build.
- We can skip publishing samples.
- We're able to share similar logic for modules
  which are meant for publish or just being samples.
- It's easier to upgrade gradle versions without
  getting various build issues.
- Relates #1143
This commit is contained in:
Janne Valkealahti
2024-03-14 12:26:06 +00:00
parent 1b2a868ab5
commit e62b09d2bb
60 changed files with 2128 additions and 954 deletions

View File

@@ -0,0 +1,27 @@
plugins {
id 'org.springframework.statemachine.module'
}
description = 'Spring State Machine Build Tests'
dependencies {
management platform(project(":spring-statemachine-platform"))
testImplementation project(':spring-statemachine-uml')
testImplementation project(':spring-statemachine-test')
testImplementation project(':spring-statemachine-data-common:spring-statemachine-data-jpa')
testImplementation project(':spring-statemachine-data-common:spring-statemachine-data-redis')
testImplementation project(':spring-statemachine-data-common:spring-statemachine-data-mongodb')
testImplementation(testFixtures(project(":spring-statemachine-core")))
testImplementation 'io.projectreactor:reactor-test'
testImplementation 'org.apache.commons:commons-pool2'
testRuntimeOnly 'org.springframework.boot:spring-boot-starter-data-mongodb'
testRuntimeOnly 'org.springframework.boot:spring-boot-starter-data-redis'
testRuntimeOnly 'redis.clients:jedis'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'org.junit.jupiter:junit-jupiter-engine'
testImplementation 'org.springframework.boot:spring-boot-starter-data-jpa'
testImplementation 'com.h2database:h2'
testImplementation 'org.springframework.boot:spring-boot-starter'
testImplementation 'org.springframework:spring-test'
testImplementation 'io.projectreactor.tools:blockhound'
}