-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
55 lines (45 loc) · 1.73 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
plugins {
id "org.akhikhl.gretty" version "1.2.4"
}
apply plugin: 'war'
apply plugin: 'maven'
apply plugin: 'eclipse'
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
dependencies {
compile "org.apache.wicket:wicket-core:$project.version_wicket"
compile "org.slf4j:slf4j-api:$project.version_slf4j"
compile "org.apache.logging.log4j:log4j-slf4j-impl:$project.version_log4j"
compile "org.apache.logging.log4j:log4j-api:$project.version_log4j"
compile "org.apache.logging.log4j:log4j-core:$project.version_log4j"
testCompile "junit:junit:$project.version_junit"
testCompile "org.eclipse.jetty:jetty-server:$project.version_jetty"
testCompile "org.eclipse.jetty:jetty-webapp:$project.version_jetty"
testCompile "org.eclipse.jetty:jetty-util:$project.version_jetty"
testCompile "org.eclipse.jetty:jetty-jmx:$project.version_jetty"
gretty "org.eclipse.jetty:jetty-server:$project.version_jetty"
gretty "org.eclipse.jetty:jetty-servlet:$project.version_jetty"
gretty "org.eclipse.jetty:jetty-webapp:$project.version_jetty"
gretty "org.eclipse.jetty:jetty-security:$project.version_jetty"
gretty "org.eclipse.jetty:jetty-jsp:$project.version_jetty"
gretty "org.eclipse.jetty:jetty-annotations:$project.version_jetty"
gretty "org.eclipse.jetty:jetty-plus:$project.version_jetty"
}
clean {
delete 'bin', 'target'
}
javadoc {
classpath += sourceSets.test.output
}
gretty {
servletContainer = 'jetty9'
contextPath = '/'
jvmArgs = ["-Djetty.keystore=$project.projectDir/src/test/resources/keystore"]
serverConfigFile = "$project.projectDir/src/test/jetty/jetty.xml"
}