Skip to content

Commit

Permalink
fix build failure, use optional in the correct way
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Feb 28, 2015
1 parent 27e6ed1 commit 13efb53
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
6 changes: 2 additions & 4 deletions grails-bom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ publishing {
mkp.name 'Jeff Brown'
}
mkp.developer {
mkp.id 'burtbeckwith'
mkp.name 'Burt Beckwith'
mkp.id 'lhotari'
mkp.name 'Lari Hotari'
}
}

Expand Down Expand Up @@ -165,5 +165,3 @@ bintray {
}
}
}


6 changes: 2 additions & 4 deletions grails-console/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ dependencies {
compile("org.springframework.boot:spring-boot:$springBootVersion")
compile "org.springframework:spring-test:${springVersion}"

provided "org.springframework:spring-web:${springVersion}"
optional "org.springframework:spring-web:${springVersion}"
compile "org.springframework:spring-web:${springVersion}", optional

provided "javax.servlet:javax.servlet-api:$servletApiVersion"
optional "javax.servlet:javax.servlet-api:$servletApiVersion"
compile "javax.servlet:javax.servlet-api:$servletApiVersion", optional
}
6 changes: 2 additions & 4 deletions grails-dependencies/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ publishing {
delegate.name 'Jeff Brown'
}
delegate.developer {
delegate.id 'burtbeckwith'
delegate.name 'Burt Beckwith'
delegate.id 'lhotari'
delegate.name 'Lari Hotari'
}
}

Expand Down Expand Up @@ -162,5 +162,3 @@ bintray {
}
}
}


5 changes: 1 addition & 4 deletions grails-web/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
configurations {
optional
}
dependencies {
compile project(":grails-web-common")
compile project(":grails-web-gsp")
compile project(":grails-web-databinding")
provided project(":grails-web-fileupload")
compile project(":grails-web-fileupload"), optional
compile project(":grails-web-url-mappings")
compile project(":grails-web-jsp")
compile project(":grails-web-mvc")
Expand Down

0 comments on commit 13efb53

Please sign in to comment.