aboutsummaryrefslogtreecommitdiff
path: root/juick-rss/build.gradle
blob: b17a2c04a441835bc66cfd8f8da81ee78218ec77 (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
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.akhikhl.gretty'
apply plugin: 'com.github.ben-manes.versions'

repositories {
    mavenCentral()
}

def slf4jVersion = '1.7.21'

dependencies {
    compile project(':juick-core')
    providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
    compile 'org.apache.commons:commons-dbcp2:2.1.1'
    compile 'org.apache.commons:commons-lang3:3.5'
    compile 'org.slf4j:slf4j-api:${slf4jVersion}'
    providedRuntime 'mysql:mysql-connector-java:5.1.39'
}

compileJava.options.encoding = 'UTF-8'

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