-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
66 lines (55 loc) · 2.21 KB
/
Copy pathbuild.gradle
File metadata and controls
66 lines (55 loc) · 2.21 KB
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
buildscript {
ext {
springBootVersion = '2.0.1.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group = 'com.assign'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
ext {
versions =[
slf4j : '1.+',
logback : '1.+',
jcloverslf4j: '1.7.+',
guava : '19.0',
junit : '4.+'
]
}
dependencies {
// https://mvnrepository.com/artifact/com.h2database/h2
testCompile group: 'com.h2database', name: 'h2', version: '1.4.197'
// https://mvnrepository.com/artifact/com.google.guava/guava
compile group: 'com.google.guava', name: 'guava', version: '24.1-jre'
//apache commom lang
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
compile group : 'org.slf4j', name : 'slf4j-api', version : project.ext.versions.slf4j
compile group : 'ch.qos.logback', name : 'logback-classic', version : project.ext.versions.logback
compile group : 'org.slf4j', name: 'jcl-over-slf4j', version : project.ext.versions.jcloverslf4j
testCompile group : 'junit', name : 'junit', version : project.ext.versions.junit
// thymeleaf 3.0
//compile ("org.thymeleaf.extras:thymeleaf-extras-springsecurity4:3.0.0.RELEASE")
compile('org.springframework.boot:spring-boot-starter-data-redis')
//compile('org.springframework.boot:spring-boot-starter-security')
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-jpa
compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa', version: '2.0.1.RELEASE'
// https://mvnrepository.com/artifact/org.webjars.npm/react
compile group: 'org.webjars.npm', name: 'react', version: '16.3.1'
// https://mvnrepository.com/artifact/org.webjars.npm/react-dom
compile group: 'org.webjars.npm', name: 'react-dom', version: '16.3.1'
compile('org.springframework.boot:spring-boot-starter-web')
testCompile('org.springframework.boot:spring-boot-starter-test')
}