Files
spring-shell/spring-shell-management/spring-shell-management.gradle
Janne Valkealahti 2173c9bf84 Change management deps to be constraints
- Looks like if plain deps are not defined as constraints test
  deps will leak into a fatjar build i.e. with sample.
- Change it how its done in spring security where this idea
  was taken.
- Remove use of maven-publish plugin which is not needed.
- Relates #470
2022-08-17 08:42:51 +01:00

20 lines
395 B
Groovy

plugins {
id 'java-platform'
}
javaPlatform {
allowDependencies()
}
description = 'Spring Shell BOM'
dependencies {
api platform("org.springframework.boot:spring-boot-dependencies:$springBootVersion")
constraints {
api "org.jline:jline:$jlineVersion"
api "org.jline:jline-terminal-jna:$jlineVersion"
api "org.antlr:ST4:$st4Version"
api "com.google.jimfs:jimfs:$jimfsVersion"
}
}