-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
110 lines (95 loc) · 3.11 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
apply plugin: 'rebel'
buildscript {
ext {
springBootVersion = '1.5.6.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath group: 'org.zeroturnaround', name: 'gradle-jrebel-plugin', version: '1.1.2'
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'groovy'
bootRun {
if (project.hasProperty('jvmArgs')) {
jvmArgs = (project.jvmArgs.split("\\s+") as List)
}
}
jar.dependsOn(generateRebel)
jar {
baseName = 'wallet-server'
version = '0.0.2-SNAPSHOT'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
maven { url "http://dl.bintray.com/ethereum/maven" }
maven { url "https://jitpack.io" }
}
dependencies {
compile('javax.mail:mail:1.4')
compile('org.springframework.boot:spring-boot-starter-actuator')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-devtools')
compile 'org.projectlombok:lombok:1.16.4'
compile('io.springfox:springfox-swagger2:2.1.2')
compile('io.springfox:springfox-swagger-ui:2.1.2')
compile('cglib:cglib-nodep:3.2.0')
compile('org.json:json:20160212')
compile('org.bouncycastle:bcprov-jdk15on:1.54')
// compile('com.h2database:h2')
compile('org.thymeleaf:thymeleaf')
compile('org.thymeleaf:thymeleaf-spring4')
compile('in.ashwanthkumar:slack-java-webhook:0.0.7')
compile('org.apache.httpcomponents:httpclient:4.5.2')
compile('org.ethereum:ethereumj-core:1.3.1-RELEASE') {
exclude group: "org.slf4j", module: "slf4j-log4j12"
}
runtime('org.postgresql:postgresql:9.4.1212')
// compile "mysql:mysql-connector-java:6.0.6"
compile('org.flywaydb:flyway-core:4.0.1')
compile('com.github.cryptofiat:euro2-payment-uri:2.2') {
exclude group: "org.slf4j", module: "slf4j-simple"
}
compile('org.apache.commons:commons-jcs-core:2.1')
testCompile 'com.h2database:h2:1.4.191'
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile("org.spockframework:spock-spring:1.0-groovy-2.4")
testCompile('org.springframework.cloud:spring-cloud-contract-wiremock')
testCompile('com.github.tomakehurst:wiremock-standalone:2.4.1')
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-contract-dependencies:1.0.0.M1"
}
}
eclipse {
classpath {
containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8'
}
}
test {
test {
testLogging {
events "passed", "skipped", "failed", "standardError"
}
}
}
test.dependsOn cleanTest
idea {
module {
sourceDirs
}
}