I'm trying to migrate my project to latest versions Spring and Spring Boot. Everything was going smothly till I encounter this problem.
One of our project generates two versions of final Jar, one plain runnable with minimum dependencies, and another one with all extra modules.
While I was using Spring Boot version 1.5.x, then solution was simple, we used 'customConfiguration`
when i was using old plugin, my config file looks more or less like that
bootRepackage{
customConfiguration = "addons"
}
dependencies {
compile "my.org:core-lib:1.0.0"
addons "my.org:extra-lib:1.0.0"
}
now bootRepackage
is replaced by bootJar
which does not hold property customConfiguration
. Is this is possible to do in latest version of plugin, if yest, then could someone point me in right direction please.