aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2015-10-24 19:35:41 +0300
committerGravatar Vitaly Takmazov2015-10-24 19:35:41 +0300
commitaf80956ec669cf48ea6423959b5a4d8f16385d6f (patch)
tree3589c77814185cd8bf43408f46793aaf8917c27a /build.gradle
parent7a96f3f799e2e2358be246b3e9f0aa412ef28a2d (diff)
moving to Gradle
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle37
1 files changed, 37 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 00000000..5b180fd9
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,37 @@
+subprojects {
+ apply plugin: 'java'
+ repositories {
+ mavenCentral()
+ }
+}
+
+apply plugin: 'war'
+apply plugin: 'jetty'
+
+repositories {
+ mavenCentral()
+}
+
+def core = project(':deps:com.juick')
+def server = project(':deps:com.juick.server')
+def xmpp = project(':deps:com.juick.xmpp')
+
+project(':deps:com.juick.server') {
+ dependencies {
+ compile core
+ }
+}
+
+project(':deps:com.juick.xmpp') {
+ dependencies {
+ compile core
+ }
+}
+
+dependencies {
+ compile 'org.json:json:20150729'
+ compile core
+ compile server
+ compile xmpp
+ providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
+}