-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
39 lines (32 loc) · 1.25 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
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'jetty'
apply plugin: 'war'
group = 'org.mybatis'
version = '6.0.3-SNAPSHOT'
description = """JPetStore Demo 6"""
sourceCompatibility = 1.5
targetCompatibility = 1.5
configurations.all {
}
repositories {
maven { url "https://repo.huaweicloud.com/repository/maven/" }
}
dependencies {
compile group: 'ognl', name: 'ognl', version:'3.1.7'
compile group: 'org.mybatis', name: 'mybatis', version:'3.4.0'
compile group: 'org.mybatis', name: 'mybatis-spring', version:'1.3.0'
compile group: 'org.springframework', name: 'spring-jdbc', version:'4.2.6.RELEASE'
compile group: 'org.springframework', name: 'spring-web', version:'4.2.6.RELEASE'
compile group: 'net.sourceforge.stripes', name: 'stripes', version:'1.6.0'
compile group: 'javax.servlet', name: 'jstl', version:'1.2'
compile group: 'log4j', name: 'log4j', version:'1.2.17'
compile group: 'org.hsqldb', name: 'hsqldb', version:'2.3.4'
compile 'org.apache.tomcat:jsp-api:6.0.47'
testCompile group: 'junit', name: 'junit', version:'4.12'
testCompile group: 'org.mockito', name: 'mockito-core', version:'2.0.52-beta'
}
war.archiveName "jpetstore.war"
war {
destinationDir=file("$projectDir/docker")
}