-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
92 lines (72 loc) · 2.51 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
buildscript {
ext {
springBootVersion = '1.5.19.RELEASE'
springLoadedVersion = '1.2.8.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "org.springframework:springloaded:${springLoadedVersion}"
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
group = 'fr.jeci.alfresco'
version = '0.7.0'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
jar {
baseName = 'jeci-saod'
version = version
manifest {
attributes 'Implementation-Title': 'JECI Stats Alfresco On Database', 'Implementation-Version': version
}
}
bootRepackage {
mainClass = 'fr.jeci.alfresco.saod.SaodApplication'
}
bootRun {
jvmArgs = ["-Dspring.profiles.active=bootrun"]
addResources = true
}
repositories {
mavenCentral()
}
configurations {
providedRuntime
compile.exclude module: 'spring-boot-starter-tomcat'
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web') {
exclude module: "spring-boot-starter-tomcat"
}
compile("org.springframework.boot:spring-boot-starter-freemarker")
compile("org.springframework.boot:spring-boot-starter-jetty") {
exclude group: 'org.eclipse.jetty.websocket'
}
compile 'org.springframework.boot:spring-boot-starter-logging'
compile 'org.springframework.boot:spring-boot-starter-actuator'
compile 'org.springframework.boot:spring-boot-starter-security'
compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
//open csv Library
compile 'com.opencsv:opencsv:4.3'
compile 'org.springframework:spring-jdbc'
compile 'org.springframework:spring-context'
compile 'org.springframework:spring-tx'
compile 'ch.qos.logback:logback-classic:1.2.3'
compile "org.flywaydb:flyway-core:4.2.0"
compile 'com.zaxxer:HikariCP:3.2.0'
runtime 'org.hsqldb:hsqldb:2.4.1'
runtime 'mysql:mysql-connector-java:5.1.47'
//postgres : moteur de recherche maven >> maven search
runtime 'org.postgresql:postgresql:42.2.12'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-json-org:2.9.8'
compile 'com.fasterxml.jackson:jackson-base:2.9.8'
// To include private Driver like oracle ojdbc5.jar
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile group: 'junit', name: 'junit', version: '4.+'
testCompile ("org.springframework.boot:spring-boot-starter-test")
}