-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathbuild.gradle
More file actions
70 lines (56 loc) · 1.82 KB
/
build.gradle
File metadata and controls
70 lines (56 loc) · 1.82 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
67
68
69
70
plugins {
id 'java'
id 'idea'
id 'eclipse'
id 'application'
id 'org.springframework.boot' version '2.1.7.RELEASE'
}
mainClassName = 'io.blk.erc20.Application'
group 'io.blk'
version '0.1.0'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
configurations.named("implementation") {
resolutionStrategy {
failOnVersionConflict()
}
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web:2.1.7.RELEASE',
'io.springfox:springfox-swagger2:2.7.0',
'io.springfox:springfox-swagger-ui:2.7.0',
'org.projectlombok:lombok:1.16.16',
//MODIFIED
// 'org.web3j:quorum:4.+',
// 'org.web3j:core:4.+',
'org.web3j:quorum:4.8.4',
'org.web3j:core:4.8.7',
'io.reactivex.rxjava2:rxjava:2.2.0',
'com.fasterxml.jackson:jackson-bom:2.9.4',
'org.apache.httpcomponents:httpclient:4.5.3'
testCompile 'junit:junit:4.12',
'org.springframework.boot:spring-boot-starter-test:2.1.7.RELEASE',
implementation("org.web3j:contracts:4.2.0") { exclude group: 'org.web3j' }
}
// MODIFIED START
tasks.named("bootJar") {
archiveClassifier = 'sut'
archiveFileName = "${project.name}-${archiveClassifier.get()}.jar"
}
tasks.named("jar") {
archiveClassifier = 'plain'
archiveFileName = "${project.name}-${archiveClassifier.get()}.jar"
enabled = true
}
// MODIFIED END
run {
/* Can pass all the properties: */
systemProperties System.getProperties()
/* Or just each by name: */
systemProperty "nodeEndpoint", System.getProperty("nodeEndpoint")
systemProperty "fromAddress", System.getProperty("fromAddress")
/* Need to split the space-delimited value in the exec.args */
args System.getProperty("exec.args", "").split()
}