Skip to content
This repository
Browse code

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...
commit f596ec553efbde7c1c8856686d2e9af0408ee544 1 parent e5e9d99
authored May 19, 2011
9  build.gradle
@@ -140,9 +140,16 @@ project('spring-social-facebook') {
140 140
     dependencies {
141 141
         compile "org.springframework.social:spring-social-core:$springSocialVersion"
142 142
         compile "org.codehaus.jackson:jackson-mapper-asl:$jacksonVersion"
  143
+        testCompile "org.springframework.social:spring-social-test:$springSocialVersion"
  144
+    }
  145
+}
  146
+
  147
+project('spring-social-facebook-web') {
  148
+    description = 'Facebook Web'
  149
+    dependencies {
  150
+        compile ("org.springframework:spring-web:$springVersion")
143 151
         compile ("javax.servlet:servlet-api:$servletApiVersion") { provided = true }
144 152
         compile ("javax.servlet.jsp:jsp-api:$jspApiVersion") { provided = true }
145  
-        testCompile "org.springframework.social:spring-social-test:$springSocialVersion"
146 153
     }
147 154
 }
148 155
 
1  settings.gradle
@@ -18,3 +18,4 @@ rootProject.name = 'spring-social-facebook'
18 18
 
19 19
 include 'docs'
20 20
 include 'spring-social-facebook'
  21
+include 'spring-social-facebook-web'
0  ...ork/social/facebook/web/FacebookCookieParser.java → ...ork/social/facebook/web/FacebookCookieParser.java
File renamed without changes
0  ...work/social/facebook/web/FacebookCookieValue.java → ...work/social/facebook/web/FacebookCookieValue.java
File renamed without changes
0  ...ramework/social/facebook/web/FacebookInitTag.java → ...ramework/social/facebook/web/FacebookInitTag.java
File renamed without changes
0  ...ial/facebook/web/FacebookWebArgumentResolver.java → ...ial/facebook/web/FacebookWebArgumentResolver.java
File renamed without changes
0  ...ngframework/social/facebook/web/package-info.java → ...ngframework/social/facebook/web/package-info.java
File renamed without changes
0  ...al/facebook/web/FacebookArgumentResolverTest.java → ...al/facebook/web/FacebookArgumentResolverTest.java
File renamed without changes
0  ...work/social/facebook/web/FacebookInitTagTest.java → ...work/social/facebook/web/FacebookInitTagTest.java
File renamed without changes

0 notes on commit f596ec5

Please sign in to comment.
Something went wrong with that request. Please try again.