Skip to content
Browse files

Adding Gradle's WAR task

  • Loading branch information...
1 parent a18cc63 commit a5e35b55081dbb3374148af76970aafcd7839de1 @Kdecherf Kdecherf committed Apr 12, 2011
Showing with 13 additions and 2 deletions.
  1. +12 −1 build.gradle
  2. +1 −1 settings.gradle
View
13 build.gradle
@@ -8,7 +8,7 @@ subprojects {
version = ["./bin/prepareJava.sh"].execute().text
repositories {
- mavenRepo urls: "http://download.java.net/maven/2/"
+ mavenRepo urls: ["http://download.java.net/maven/2/", "http://repo2.maven.org/maven2/"]
}
}
@@ -21,6 +21,7 @@ project(':resin') {
project(':quercus') {
dependencies {
compile project(':resin')
+ compile "org.bouncycastle:bcprov-jdk16:1.46", "org.bouncycastle:bcpg-jdk16:1.46", "org.bouncycastle:bcmail-jdk16:1.46", "org.bouncycastle:bctsp-jdk16:1.46"
compile fileTree(dir: 'libs', include: '*.jar')
}
@@ -37,3 +38,13 @@ project(':quercus') {
metaInf << file('src/main/java/META-INF/')
}
+
+project(':app') {
+ version = ""
+ apply plugin: 'war'
+ dependencies {
+ compile(project(':quercus')){
+ exclude module: 'javaee-api'
+ }
+ }
+}
View
2 settings.gradle
@@ -1 +1 @@
-include "resin", "quercus"
+include "resin", "quercus", "app"

0 comments on commit a5e35b5

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