-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
60 lines (49 loc) · 1.47 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
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'idea'
apply plugin: 'spring-boot'
buildscript {
ext {
springBootVersion = '1.1.0.M2'
}
repositories {
mavenCentral()
maven {
url 'http://repo.spring.io/milestone'
}
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
jar {
baseName = 'javers-demo'
version = '1.0.0'
}
repositories {
mavenCentral()
mavenLocal()
maven { url 'http://oss.sonatype.org/content/repositories/releases' }
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'http://repo.spring.io/milestone' }
}
dependencies {
//javers dependencies
compile 'org.javers:javers-core:1.2.0'
compile 'org.javers:javers-persistence-mongo:1.2.0'
compile 'org.springframework.boot:spring-boot-starter-data-mongodb'
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.codehaus.groovy:groovy:2.3.2'
compile 'org.codehaus.groovy:groovy-templates:2.3.2'
compile 'log4j:log4j:1.2.17'
compile 'com.google.guava:guava:15.0'
compile 'org.apache.commons:commons-lang3:3.3.2'
testCompile 'org.springframework.boot:spring-boot-starter-test'
testCompile 'org.spockframework:spock-core:0.7-groovy-2.0'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}