-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
107 lines (95 loc) · 3.22 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
buildscript {
repositories {
mavenCentral()
}
dependencies {
// ASSUMES GRADLE 2.12 OR HIGHER. Use plugin version 0.7.5 with earlier
// gradle versions
classpath 'com.google.protobuf:protobuf-gradle-plugin:0.9.4'
}
}
plugins {
id 'application'
id 'org.springframework.boot' version '3.2.5'
id 'io.spring.dependency-management' version '1.1.5'
id 'com.google.protobuf' version "0.9.4"
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
implementation 'com.google.guava:guava:33.2.0-jre'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
runtimeOnly 'org.postgresql:postgresql'
implementation 'org.quartz-scheduler:quartz:2.3.2'
implementation 'com.github.0xshamil:java-xid:1.0.0'
// springdoc
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.5.0'
//thymeleaf
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
// security
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-resource-server'
// jwt
implementation 'io.jsonwebtoken:jjwt:0.12.5'
implementation 'com.auth0:java-jwt:4.4.0'
// lombok
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// grpc
implementation 'io.grpc:grpc-netty-shaded:1.63.0'
implementation 'io.grpc:grpc-protobuf:1.63.0'
implementation group: 'io.grpc', name: 'grpc-stub', version: '1.63.0'
compileOnly group: 'com.google.protobuf', name: 'protobuf-java-util', version: '4.26.1'
// validator
implementation 'org.springframework.boot:spring-boot-starter-validation'
// javax xml bind
implementation 'javax.xml.bind:jaxb-api:2.3.1'
implementation 'org.glassfish.jaxb:jaxb-runtime:4.0.5'
// temporal
implementation 'io.temporal:temporal-sdk:1.23.2'
// open-pdf
implementation 'com.github.librepdf:openpdf:2.0.2'
// javax annotations
implementation 'javax.annotation:javax.annotation-api:1.3.2'
annotationProcessor("javax.annotation:javax.annotation-api:1.3.2")
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
testImplementation 'org.mockito:mockito-core:5.12.0'
}
protobuf {
generatedFilesBaseDir = "$projectDir/src"
protoc {
artifact = "com.google.protobuf:protoc:4.26.1"
}
plugins {
grpc {
artifact = 'io.grpc:protoc-gen-grpc-java:1.63.0'
}
}
generateProtoTasks {
all()*.plugins {
grpc {}
}
}
}
// Inform IDEs like IntelliJ IDEA, Eclipse or NetBeans about the generated code.
sourceSets {
main {
java {
srcDirs 'build/generated/source/proto/main/grpc'
srcDirs 'build/generated/source/proto/main/java'
}
}
}
// Configure the built-in test suite
test {
// Use JUnit Jupiter test framework
useJUnitPlatform()
}
application {
// Define the main class for the application.
mainClass = 'elite.sas.App'
}