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:
@@ -0,0 +1,23 @@
|
||||
plugins {
|
||||
id 'org.springframework.statemachine.module'
|
||||
}
|
||||
|
||||
description = 'Spring Statemachine Autoconfigure'
|
||||
|
||||
dependencies {
|
||||
management platform(project(":spring-statemachine-platform"))
|
||||
api project(':spring-statemachine-core')
|
||||
optional project(':spring-statemachine-data-common:spring-statemachine-data-jpa')
|
||||
optional project(':spring-statemachine-data-common:spring-statemachine-data-redis')
|
||||
optional project(':spring-statemachine-data-common:spring-statemachine-data-mongodb')
|
||||
api 'org.springframework.boot:spring-boot-autoconfigure'
|
||||
api 'org.springframework.boot:spring-boot-actuator-autoconfigure'
|
||||
api 'org.springframework.boot:spring-boot-actuator'
|
||||
optional 'io.micrometer:micrometer-core'
|
||||
optional 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||
optional 'org.springframework.boot:spring-boot-starter-data-redis'
|
||||
optional 'org.springframework.boot:spring-boot-starter-data-mongodb'
|
||||
testImplementation 'org.springframework.boot:spring-boot-test'
|
||||
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||||
testRuntimeOnly 'com.h2database:h2'
|
||||
}
|
||||
Reference in New Issue
Block a user