aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server-core/build.gradle')
-rw-r--r--juick-server-core/build.gradle61
1 files changed, 61 insertions, 0 deletions
diff --git a/juick-server-core/build.gradle b/juick-server-core/build.gradle
new file mode 100644
index 00000000..b93fb533
--- /dev/null
+++ b/juick-server-core/build.gradle
@@ -0,0 +1,61 @@
+apply plugin: 'java'
+apply plugin: 'war'
+
+sourceCompatibility = 1.8
+
+dependencies {
+ compile project(':juick-core')
+
+ compile "com.fasterxml.jackson.core:jackson-core:${rootProject.jacksonVersion}"
+ compile "com.fasterxml.jackson.core:jackson-databind:${rootProject.jacksonVersion}"
+ compile "com.fasterxml.jackson.core:jackson-annotations:${rootProject.jacksonVersion}"
+ compile "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${rootProject.jacksonVersion}"
+
+ providedCompile "ch.qos.logback:logback-classic:${rootProject.logbackVersion}"
+ providedCompile "ch.qos.logback:logback-core:${rootProject.logbackVersion}"
+ providedCompile "ch.qos.logback:logback-access:${rootProject.logbackVersion}"
+
+ providedCompile "org.slf4j:slf4j-api:${rootProject.slf4jVersion}"
+ providedCompile "org.slf4j:jcl-over-slf4j:${rootProject.slf4jVersion}"
+ providedCompile "org.slf4j:log4j-over-slf4j:${rootProject.slf4jVersion}"
+ providedCompile "org.slf4j:jul-to-slf4j:${rootProject.slf4jVersion}"
+
+ compile "org.apache.httpcomponents:httpclient:4.5.3"
+ providedCompile "org.apache.commons:commons-lang3:3.6"
+ providedCompile "org.apache.commons:commons-collections4:4.1"
+ providedCompile "org.apache.commons:commons-text:1.1"
+ providedCompile "commons-io:commons-io:2.5"
+ providedCompile "commons-codec:commons-codec:1.10"
+
+ compile 'org.imgscalr:imgscalr-lib:4.2'
+
+ compile "javax.inject:javax.inject:1"
+
+ providedCompile "javax.servlet:javax.servlet-api:3.1.0"
+
+ providedRuntime "commons-fileupload:commons-fileupload:1.3.3"
+
+ testCompile "ch.vorburger.mariaDB4j:mariaDB4j:2.2.3"
+ testCompile "junit:junit:${rootProject.junitVersion}"
+ testCompile "org.hamcrest:hamcrest-all:${rootProject.hamcrestVersion}"
+ testCompile "org.mockito:mockito-core:${rootProject.mockitoVersion}"
+
+ testRuntime "mysql:mysql-connector-java:5.1.40"
+}
+
+compileJava.options.encoding = 'UTF-8'
+
+configurations {
+ all*.exclude module: 'commons-logging'
+}
+
+configurations {
+ testArtifacts.extendsFrom testRuntime
+}
+task testJar(type: Jar) {
+ classifier "test"
+ from sourceSets.test.output
+}
+artifacts {
+ testArtifacts testJar
+}