- 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
20 lines
395 B
Groovy
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"
|
|
}
|
|
}
|