forked from FISCO-BCOS/spring-boot-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
64 lines (53 loc) · 1.55 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
plugins {
id 'org.springframework.boot' version '2.1.4.RELEASE'
id 'java'
id 'com.github.sherter.google-java-format' version '0.8'
}
apply plugin: 'io.spring.dependency-management'
apply plugin: 'idea'
apply plugin: 'eclipse'
description = 'Spring Boot Starter'
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
googleJavaFormat {
options style: 'AOSP'
source = sourceSets*.allJava
include '**/*.java'
exclude '**/temp/*.java'
exclude '**/solidity/*.java'
}
verifyGoogleJavaFormat {
source = sourceSets*.allJava
include '**/*.java'
exclude '**/temp/*.java'
exclude '**/solidity/*.java'
}
check.dependsOn.remove(test)
check.dependsOn.remove(verifyGoogleJavaFormat)
repositories {
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://dl.bintray.com/ethereum/maven/" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
mavenCentral()
}
dependencies {
compile 'org.springframework.boot:spring-boot-starter-logging'
compile 'org.codehaus.groovy:groovy-all:2.5.6'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
compile 'org.fisco-bcos:web3sdk:2.3.0'
}
configurations {
all {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
compileOnly {
extendsFrom annotationProcessor
}
}
test {
systemProperty "jdk.tls.namedGroups", "secp256k1"
}