-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
53 lines (46 loc) · 1.29 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
apply plugin: "java"
apply plugin: "maven"
group = "com.ctosb"
version = "1.1.0"
sourceCompatibility = 1.6
targetCompatibility = 1.6
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
javadoc.options.encoding = "UTF-8"
ext {
springVersion="3.2.17.RELEASE"
mybatisVersion="3.4.5"
mybatisSpringVersion="1.3.1"
aspectjweaverVersion="1.8.13"
druidVersion="1.1.7"
h2Version="1.4.196"
log4jVersion="2.7"
mysqlVersion="5.1.40"
junitVersion="4.12"
}
repositories {
mavenLocal()
maven {
url "http://maven.aliyun.com/nexus/content/groups/public"
}
}
dependencies {
compile("org.springframework:spring-jdbc:${springVersion}")
compile("org.springframework:spring-context-support:${springVersion}")
compile("org.mybatis:mybatis:${mybatisVersion}")
compile("org.mybatis:mybatis-spring:${mybatisSpringVersion}")
compile("org.aspectj:aspectjweaver:${aspectjweaverVersion}")
testCompile("com.alibaba:druid:${druidVersion}")
testCompile("junit:junit:${junitVersion}")
testCompile("com.h2database:h2:${h2Version}")
}
install {
repositories.mavenInstaller {
pom.groupId = project.group
pom.artifactId = project.name
pom.version = project.version
}
}
jar {
baseName = "ctosb-core"
}