Sfoglia il codice sorgente

Added gradle file for cas and standardised ehcache version

Luke Taylor 15 anni fa
parent
commit
adfac7e718
5 ha cambiato i file con 18 aggiunte e 7 eliminazioni
  1. 1 1
      acl/build.gradle
  2. 2 1
      build.gradle
  3. 13 0
      cas/build.gradle
  4. 1 4
      core/build.gradle
  5. 1 1
      settings.gradle

+ 1 - 1
acl/build.gradle

@@ -2,7 +2,7 @@
 
 dependencies {
     compile project(':core'),
-            'net.sf.ehcache:ehcache:1.4.1',
+            "net.sf.ehcache:ehcache:$ehcacheVersion",
             "org.springframework:spring-context:$springVersion",
             "org.springframework:spring-core:$springVersion",
             "org.springframework:spring-tx:$springVersion",

+ 2 - 1
build.gradle

@@ -11,7 +11,8 @@ allprojects {
 
 subprojects {
     usePlugin 'java'
-    springVersion = '3.0.0.RC2'
+    springVersion = '3.0.0.RC3'
+    ehcacheVersion = '1.6.2'
 
     dependencies {
         compile     'commons-logging:commons-logging:1.1.1'

+ 13 - 0
cas/build.gradle

@@ -0,0 +1,13 @@
+
+dependencies {
+    compile project(':core'),
+            project(':web'),
+            "javax.servlet:servlet-api:2.5",
+            "org.springframework:spring-core:$springVersion",
+            "org.springframework:spring-context:$springVersion",            
+            "org.springframework:spring-beans:$springVersion",
+            "org.springframework:spring-tx:$springVersion",
+            "org.springframework:spring-web:$springVersion",            
+            "org.jasig.cas:cas-client-core:3.1.9",
+            "net.sf.ehcache:ehcache:$ehcacheVersion"
+}            

+ 1 - 4
core/build.gradle

@@ -2,9 +2,7 @@
 
 dependencies {
     compile 'aopalliance:aopalliance:1.0',
-            'commons-codec:commons-codec:1.3',
-            'jaxen:jaxen:1.1.1',
-            'net.sf.ehcache:ehcache:1.4.1',
+            "net.sf.ehcache:ehcache:$ehcacheVersion",
             "org.springframework:spring-aop:$springVersion",
             "org.springframework:spring-beans:$springVersion",
             "org.springframework:spring-core:$springVersion",
@@ -18,7 +16,6 @@ dependencies {
             'org.apache.tomcat:annotations-api:6.0.14'
 
     runtime 'hsqldb:hsqldb:1.8.0.7'
-    //'asm:asm-all:2.2.3',
 
     testCompile 'commons-collections:commons-collections:3.2',
                 "org.springframework:spring-test:$springVersion"

+ 1 - 1
settings.gradle

@@ -1 +1 @@
-include 'core', 'web', 'ldap', 'acl', 'config', 'openid'
+include 'core', 'web', 'ldap', 'acl', 'config', 'cas', 'openid'