-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle
73 lines (66 loc) · 2.12 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
plugins {
id "org.springframework.boot" version "2.2.8.RELEASE"
id "io.spring.dependency-management" version "1.0.9.RELEASE"
id 'eclipse'
id 'idea'
id 'maven'
id 'java'
}
allprojects {
repositories {
maven {
url "http://maven.aliyun.com/nexus/content/groups/public/"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url "https://dl.bintray.com/ethereum/maven/" }
mavenLocal()
jcenter()
}
}
subprojects{
version = "1.7.9"
group = 'com.webank'
}
def log4j_version="2.16.0"
List logger = [
"org.apache.logging.log4j:log4j-api:$log4j_version",
"org.apache.logging.log4j:log4j-core:$log4j_version",
"org.apache.logging.log4j:log4j-to-slf4j:$log4j_version",
]
project(':WeBankBlockchain-Data-Export-service') {
apply plugin: "java"
apply plugin: "org.springframework.boot"
apply plugin: "io.spring.dependency-management"
springBoot {
buildInfo()
}
def solcVersion = rootProject.hasProperty('solcVersion') ? solcVersion : "0.6.10.0"
javadoc {
def defaultEncoding = 'UTF-8'
options.encoding = defaultEncoding
options.addBooleanOption('Xdoclint:none', true)
}
dependencies {
compile logger
implementation 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compileOnly 'org.projectlombok:lombok:1.18.10'
annotationProcessor 'org.projectlombok:lombok:1.18.10'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
implementation ('com.webank:solc-gradle-plugin:1.0.0'){
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
implementation project(':WeBankBlockchain-Data-Export-sdk')
implementation('com.ibeetl:beetl:2.9.3')
implementation "org.fisco-bcos:solcJ:${solcVersion}"
testImplementation "junit:junit:4.13"
}
}
configurations {
all {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
}