aboutsummaryrefslogtreecommitdiff
path: root/juick-core/build.gradle
blob: c262c2ad0d6c9de9e347b593460beb8d48fecd18 (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
apply plugin: 'java'

dependencies {
    compile "com.fasterxml.jackson.core:jackson-annotations:${rootProject.jacksonVersion}"
    compile 'org.apache.commons:commons-lang3:3.7'
    compile "commons-codec:commons-codec:1.11"
    compile 'org.apache.commons:commons-collections4:4.1'
    compile "org.apache.commons:commons-text:1.1"
    compile 'org.ocpsoft.prettytime:prettytime:4.0.1.Final'

    compile 'com.google.code.findbugs:jsr305:3.0.2'

    testCompile "com.fasterxml.jackson.core:jackson-core:${rootProject.jacksonVersion}"
    testCompile "com.fasterxml.jackson.core:jackson-databind:${rootProject.jacksonVersion}"
    testCompile "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${rootProject.jacksonVersion}"
    testCompile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${rootProject.jacksonVersion}"
    testCompile "junit:junit:${rootProject.junitVersion}"
    testCompile "org.hamcrest:hamcrest-all:${rootProject.hamcrestVersion}"
    testCompile "rocks.xmpp:xmpp-core-client:0.7.4"
}

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
}