forked from spring-projects/spring-petclinic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (53 loc) · 1.96 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
buildscript {
ext {
springBootVersion = '2.1.1.RELEASE'
mockitoVersion = '2.23.4'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
ext['junit-jupiter.version'] = '5.4.0-M1'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
repositories {
mavenCentral()
}
group = 'org.springframework.samples'
version = '2.1.0.BUILD-SNAPSHOT'
description = 'petclinic'
sourceCompatibility = '11'
test {
useJUnitPlatform()
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter'
compile 'org.springframework.boot:spring-boot-starter-actuator'
compile 'org.springframework.boot:spring-boot-starter-cache'
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
compile 'org.springframework.boot:spring-boot-devtools'
compile 'javax.cache:cache-api:1.1.0'
compile 'org.ehcache:ehcache:3.6.2'
compile 'org.webjars:webjars-locator-core:0.35'
compile 'org.webjars:jquery:2.2.4'
compile 'org.webjars:jquery-ui:1.11.4'
compile 'org.webjars:bootstrap:3.3.6'
runtime 'org.hsqldb:hsqldb:2.4.1'
runtime 'mysql:mysql-connector-java:8.0.13'
// will bring in junit-jupiter-api and -params as testCompile and -engine as testRuntime dependencies
testCompile "org.junit.jupiter:junit-jupiter"
testCompile "org.mockito:mockito-core:${mockitoVersion}"
testCompile "org.mockito:mockito-junit-jupiter:${mockitoVersion}"
testCompile('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'junit', module: 'junit'
}
testCompile 'com.tngtech.archunit:archunit-junit5-api:0.9.3'
testRuntime 'com.tngtech.archunit:archunit-junit5-engine:0.9.3'
}