-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
78 lines (71 loc) · 2.19 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
buildscript {
ext {
springBootVersion = '1.3.0.M1'
}
repositories {
mavenCentral()
maven {
url 'http://repo.spring.io/milestone'
}
}
dependencies {
classpath(
"org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}",
"io.spring.gradle:dependency-management-plugin:0.5.1.RELEASE",
'org.springframework:springloaded:1.2.3.RELEASE'
)
}
}
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'io.spring.dependency-management'
jar {
baseName = 'edu-center'
version = '0.0.1-SNAPSHOT'
}
repositories {
mavenCentral()
maven {
url 'http://repo.spring.io/milestone'
}
}
configurations {
compile.exclude module: 'spring-boot-starter-logging'
testCompile.exclude module: 'spring-boot-starter-logging'
}
dependencies {
compile(
/*Spring*/
"org.springframework.boot:spring-boot-starter-thymeleaf:${springBootVersion}",
"org.springframework.boot:spring-boot-starter-web:${springBootVersion}",
"org.springframework.boot:spring-boot-starter-data-jpa:${springBootVersion}",
"org.springframework.boot:spring-boot-starter-log4j:${springBootVersion}",
"org.springframework.boot:spring-boot-devtools",
/*Groovy*/
"org.codehaus.groovy:groovy-all:2.4.3",
/*DataBase & Data Audit*/
"mysql:mysql-connector-java:5.1.32",
"org.hibernate:hibernate-envers:4.3.10.Final",
/*Web dependency*/
"org.webjars:bootstrap:3.0.3",
"org.webjars:jquery:2.0.3-1",
"org.webjars:Eonasdan-bootstrap-datetimepicker:4.7.14",
"org.webjars:momentjs:2.10.3",
/*Excel dependency*/
"org.apache.poi:poi:3.12"
)
testCompile(
"org.springframework.boot:spring-boot-starter-test:${springBootVersion}"
)
}
idea {
module {
downloadSources = true
downloadJavadoc = false
/*inheritOutputDirs = false
outputDir = file("$buildDir/classes/main/")*/
}
}