-
Notifications
You must be signed in to change notification settings - Fork 209
/
Copy pathbuild.gradle
93 lines (72 loc) · 2.49 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
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.4'
id 'io.spring.dependency-management' version '1.1.4'
id 'com.github.jk1.dependency-license-report' version '2.0'
}
group = 'org.omnione.did'
version = '1.0.0'
java {
sourceCompatibility = '17'
}
jar {
enabled = false
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
ext {
set('springCloudVersion', "2023.0.1")
}
springBoot {
buildInfo()
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
// DB
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.liquibase:liquibase-core'
runtimeOnly 'org.postgresql:postgresql'
// Swagger
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
// API
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
compileOnly 'org.projectlombok:lombok:1.18.34'
annotationProcessor 'org.projectlombok:lombok:1.18.34'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.5'
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'org.bouncycastle:bcpkix-jdk18on:1.78.1'
implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1'
implementation 'org.bouncycastle:bcutil-jdk18on:1.78.1'
implementation 'org.hibernate.validator:hibernate-validator:8.0.1.Final'
implementation 'org.apache.commons:commons-pool2:2.12.0'
implementation('org.hyperledger.fabric:fabric-gateway-java:2.2.9')
testRuntimeOnly 'com.h2database:h2'
implementation fileTree(dir: "libs", includes: ["*"])
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
tasks.named('test') {
useJUnitPlatform {
exclude("org/**/service/*.class")
}
}
import com.github.jk1.license.render.*
import com.github.jk1.license.filter.LicenseBundleNormalizer
import com.github.jk1.license.filter.ExcludeTransitiveDependenciesFilter
licenseReport {
outputDir = "$projectDir/build/licenses"
renderers = [new InventoryMarkdownReportRenderer()]
filters = [new LicenseBundleNormalizer(), new ExcludeTransitiveDependenciesFilter()]
}