Permalink
Browse files

Extract Facebook web package into a separate module. This removes the…

… transitive dependency on servlet/JSP libraries when not using the web stuff.
  • Loading branch information...
1 parent e5e9d99 commit f596ec553efbde7c1c8856686d2e9af0408ee544 Craig Walls committed May 19, 2011
View
@@ -140,9 +140,16 @@ project('spring-social-facebook') {
dependencies {
compile "org.springframework.social:spring-social-core:$springSocialVersion"
compile "org.codehaus.jackson:jackson-mapper-asl:$jacksonVersion"
+ testCompile "org.springframework.social:spring-social-test:$springSocialVersion"
+ }
+}
+
+project('spring-social-facebook-web') {
+ description = 'Facebook Web'
+ dependencies {
+ compile ("org.springframework:spring-web:$springVersion")
compile ("javax.servlet:servlet-api:$servletApiVersion") { provided = true }
compile ("javax.servlet.jsp:jsp-api:$jspApiVersion") { provided = true }
- testCompile "org.springframework.social:spring-social-test:$springSocialVersion"
}
}
View
@@ -18,3 +18,4 @@ rootProject.name = 'spring-social-facebook'
include 'docs'
include 'spring-social-facebook'
+include 'spring-social-facebook-web'

0 comments on commit f596ec5

Please sign in to comment.