Remove @GrabResolvers before packaging jar in CLI
Since all dependencies are local in a jar there is no need for a GrabResolver (and it breaks the app because the default ivy GrapeEngine is used instead of the smart, pretty Boot one). Fixes gh-1179
This commit is contained in:
6
spring-boot-cli/src/it/resources/jar-command/bad.groovy
Normal file
6
spring-boot-cli/src/it/resources/jar-command/bad.groovy
Normal file
@@ -0,0 +1,6 @@
|
||||
@GrabResolver(name='clojars.org', root='http://clojars.org/repo')
|
||||
@Grab('redis.embedded:embedded-redis:0.2')
|
||||
|
||||
@Component
|
||||
class EmbeddedRedis {
|
||||
}
|
||||
Reference in New Issue
Block a user