浏览代码

SEC-1689: Package crypto module classes with core.

Luke Taylor 14 年之前
父节点
当前提交
9d45828cb0
共有 1 个文件被更改,包括 12 次插入1 次删除
  1. 12 1
      core/core.gradle

+ 12 - 1
core/core.gradle

@@ -1,7 +1,10 @@
 // Core build file
 
+def cryptoProject = project(':spring-security-crypto')
+
 dependencies {
-    compile 'aopalliance:aopalliance:1.0',
+    compile cryptoProject,
+            'aopalliance:aopalliance:1.0',
             "net.sf.ehcache:ehcache:$ehcacheVersion",
             "org.springframework:spring-aop:$springVersion",
             "org.springframework:spring-beans:$springVersion",
@@ -19,3 +22,11 @@ dependencies {
 
     testRuntime "hsqldb:hsqldb:$hsqlVersion"
 }
+
+// Add the crypto module classes
+
+jar {
+    from cryptoProject.sourceSets.main.classes
+}
+
+bundlor.inputPath(cryptoProject.sourceSets.main.classes)