Permalink
Browse files

Exclude unnecessary dependencies to reduce war size

  • Loading branch information...
1 parent 8daef2a commit a1cd33b4cab7e2f02d6af892f170e9c4092c1e83 @graemerocher graemerocher committed Aug 26, 2016
Showing with 5 additions and 4 deletions.
  1. +4 −4 grails-bootstrap/build.gradle
  2. +1 −0 grails-plugin-events/build.gradle
@@ -4,12 +4,12 @@ dependencies {
compile ( "org.codehaus.groovy:groovy-xml:$groovyVersion" )
compile "org.yaml:snakeyaml:1.14"
- provided ("org.fusesource.jansi:jansi:$jansiVersion")
- provided("jline:jline:$jlineVersion")
- provided("net.java.dev.jna:jna:$jnaVersion")
+ compileOnly("org.fusesource.jansi:jansi:$jansiVersion")
+ compileOnly("jline:jline:$jlineVersion")
+ compileOnly("net.java.dev.jna:jna:$jnaVersion")
// Ant
- compile "org.codehaus.groovy:groovy-ant:$groovyVersion"
+ compileOnly "org.codehaus.groovy:groovy-ant:$groovyVersion"
}
processResources {
@@ -3,6 +3,7 @@ dependencies {
compile project(":grails-async")
compile "io.projectreactor.spring:reactor-spring-context:$reactorVersion", {
exclude module:'reactor-bus', group:'io.projectreactor'
+ exclude module:'json-path', group:'com.jayway.jsonpath'
}
compile "io.projectreactor:reactor-bus:$reactorCoreVersion"

0 comments on commit a1cd33b

Please sign in to comment.