-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
30 lines (25 loc) · 909 Bytes
/
build.gradle
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
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'eclipse'
apply plugin: 'jetty'
apply from: file('gradle/misc.gradle')
jettyRun.contextPath = jettyRunWar.contextPath = 'webdb'
sourceCompatibility = targetCompatibility = 1.7
tasks.withType(AbstractCompile) each { it.options.encoding = 'UTF-8' }
repositories {
mavenCentral()
maven {
url 'http://repository.jboss.org/nexus/content/groups/public'
}
}
dependencies {
def resteasy = '3.0-beta-4'
compile 'org.slf4j:slf4j-simple:1.6.1'
['jaxrs', 'jackson-provider'].each {
compile ("org.jboss.resteasy:resteasy-$it:$resteasy") { exclude group: 'org.slf4j' }
}
providedCompile 'javax.servlet:javax.servlet-api:3.0.1'
testCompile 'junit:junit:4.+'
testCompile "org.jboss.resteasy:resteasy-client:$resteasy"
testCompile ("org.jboss.resteasy:tjws:$resteasy") { exclude group: 'javax.servlet' }
}