aboutsummaryrefslogtreecommitdiff
path: root/server-core/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'server-core/build.gradle')
-rw-r--r--server-core/build.gradle50
1 files changed, 50 insertions, 0 deletions
diff --git a/server-core/build.gradle b/server-core/build.gradle
new file mode 100644
index 00000000..f082e2c8
--- /dev/null
+++ b/server-core/build.gradle
@@ -0,0 +1,50 @@
+apply plugin: 'java'
+apply plugin: 'com.github.ben-manes.versions'
+
+sourceCompatibility = 1.8
+
+repositories {
+ mavenCentral()
+}
+
+def jacksonVersion = '2.8.4'
+def logbackVersion = '1.1.7'
+def slf4jVersion = '1.7.21'
+def springFrameworkVersion = '4.3.4.RELEASE'
+
+dependencies {
+ compile project(':juick-core')
+ compile project(':deps:com.juick.xmpp')
+
+ compile "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
+ compile "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
+ compile "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}"
+ compile "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${jacksonVersion}"
+
+ compile "ch.qos.logback:logback-classic:${logbackVersion}"
+ compile "ch.qos.logback:logback-core:${logbackVersion}"
+ compile "ch.qos.logback:logback-access:${logbackVersion}"
+
+ compile "org.slf4j:slf4j-api:${slf4jVersion}"
+ compile "org.slf4j:jcl-over-slf4j:${slf4jVersion}"
+ compile "org.slf4j:log4j-over-slf4j:${slf4jVersion}"
+ compile "org.slf4j:jul-to-slf4j:${slf4jVersion}"
+
+ compile 'org.apache.httpcomponents:httpclient:4.5.2'
+ compile 'org.apache.commons:commons-lang3:3.5'
+ compile 'org.apache.commons:commons-collections4:4.1'
+ compile 'commons-io:commons-io:2.5'
+
+ compile "org.springframework:spring-context:${springFrameworkVersion}"
+ compile "org.springframework:spring-jdbc:${springFrameworkVersion}"
+
+ compile 'org.apache.commons:commons-dbcp2:2.1.1'
+ compile 'org.json:json:20160810'
+ compile 'javax.inject:javax.inject:1'
+}
+
+compileJava.options.encoding = 'UTF-8'
+
+configurations {
+ all*.exclude module: 'commons-logging'
+}