aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/build.gradle
blob: 7a560ffa995003288401fc35ae1519bfd76d41b9 (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
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty'

dependencies {
    compile project(':juick-commands')
    compile project(':juick-server-web')
    compile ('com.github.juick:com.juick.xmpp:a3c8ef3bd1') {
        exclude group: 'xmlpull'
    }
    providedCompile 'xpp3:xpp3:1.1.4c'
    testCompile project(path: ':juick-core', configuration: 'testArtifacts')
    testCompile project(path: ':juick-server-web', configuration: 'testArtifacts')
    testCompile project(path: ':juick-server-jdbc', configuration: 'testArtifacts')
}

compileJava.options.encoding = 'UTF-8'

gretty {
    httpPort = 8080
    contextPath = '/s2s'
    servletContainer = 'tomcat8'
}

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