aboutsummaryrefslogtreecommitdiff
path: root/juick-server/build.gradle
blob: 17c292bbe64057e2cbb0258f24b88303f7eeae2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'com.github.ben-manes.versions'

sourceCompatibility = 1.8

def jacksonVersion = '2.8.5'
def logbackVersion = '1.1.7'
def slf4jVersion = '1.7.21'
def springFrameworkVersion = '4.3.4.RELEASE'
def springSecurityVersion = "4.2.0.RELEASE"

dependencies {
    compile project(':juick-core')
    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}"

    providedCompile 'javax.servlet:javax.servlet-api:3.1.0'

    compile "org.springframework.security:spring-security-web:${springSecurityVersion}"
    compile "org.springframework.security:spring-security-config:${springSecurityVersion}"

    compile 'org.apache.commons:commons-dbcp2:2.1.1'
    compile 'com.googlecode.log4jdbc:log4jdbc:1.2'
    compile 'org.json:json:20160810'
    compile 'javax.inject:javax.inject:1'

    compile 'org.bitbucket.sco0ter.babbler:xmpp-core-client:0ba6c0e2f9'
    compile 'org.bitbucket.sco0ter.babbler:xmpp-extensions-client:0ba6c0e2f9'

    testCompile "ch.vorburger.mariaDB4j:mariaDB4j:2.2.2"
    testCompile "junit:junit:4.12"
    testCompile "org.mockito:mockito-core:1.+"
    testCompile "org.springframework:spring-test:${springFrameworkVersion}"
    testCompile "org.springframework.security:spring-security-test:${springSecurityVersion}"

    testRuntime "org.thymeleaf:thymeleaf-testing:3.0.1.RELEASE"
    testRuntime "mysql:mysql-connector-java:5.1.40"
}

compileJava.options.encoding = 'UTF-8'

configurations {
    all*.exclude module: 'commons-logging'
}