-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
86 lines (71 loc) · 2.1 KB
/
build.gradle
File metadata and controls
86 lines (71 loc) · 2.1 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.2.1.RELEASE")
}
}
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'
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
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)
bootJar {
baseName = 'gs-serving-web-content'
version = '0.1.0'
}
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-web")
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.springframework.boot:spring-boot-devtools")
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.1.0'
}
configurations {
all {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
compileOnly {
extendsFrom annotationProcessor
}
}
test {
systemProperty "jdk.tls.namedGroups", "secp256k1"
}