aboutsummaryrefslogtreecommitdiff
path: root/juick-server-core/build.gradle
blob: 5dda25dbe276ab70cf08f37b910846f604ece21b (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
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}"

    compile "rocks.xmpp:xmpp-core-client:0.7.4"
    compile "rocks.xmpp:xmpp-extensions-client:0.7.4"

    compile "javax.inject:javax.inject:1"

    testCompile "junit:junit:${rootProject.junitVersion}"
    testCompile "org.hamcrest:hamcrest-all:${rootProject.hamcrestVersion}"
    testCompile "org.mockito:mockito-core:${rootProject.mockitoVersion}"
}

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
}