-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
115 lines (105 loc) · 5.49 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
115 lines (105 loc) · 5.49 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
import org.springframework.boot.gradle.tasks.bundling.BootBuildImage
plugins {
java
id("org.springframework.boot") version "4.0.0"
id("io.spring.dependency-management") version "1.1.7"
id("io.sentry.jvm.gradle") version "6.0.0"
}
group = "com.ghostchu.btn"
version = "0.0.1-SNAPSHOT"
description = "Sparkle3"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
}
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
repositories {
mavenCentral()
}
dependencyManagement {
imports {
mavenBom("com.baomidou:mybatis-plus-bom:3.5.15")
}
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-batch")
implementation("org.springframework.boot:spring-boot-starter-batch-jdbc")
implementation("org.springframework.boot:spring-boot-starter-cache")
implementation("org.springframework.boot:spring-boot-starter-data-redis")
//implementation("org.springframework.boot:spring-boot-starter-flyway")
implementation("org.springframework.boot:spring-boot-starter-jdbc")
implementation("org.springframework.boot:spring-boot-starter-kafka")
implementation("org.springframework.boot:spring-boot-starter-mail")
// implementation("org.springframework.boot:spring-boot-starter-quartz")
implementation("org.springframework.boot:spring-boot-starter-restclient")
implementation("org.springframework.boot:spring-boot-starter-security")
implementation("org.springframework.boot:spring-boot-starter-security-oauth2-client")
implementation("org.springframework.boot:spring-boot-starter-session-data-redis")
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
implementation("org.springframework.boot:spring-boot-starter-webmvc")
implementation("org.springframework.boot:spring-boot-starter-websocket")
implementation("org.apache.commons:commons-pool2")
implementation("com.baomidou:mybatis-plus-spring-boot4-starter")
implementation("com.baomidou:dynamic-datasource-spring-boot-starter:4.3.1")
implementation("com.baomidou:lock4j-redis-template-spring-boot-starter:2.2.7")
implementation("de.siegmar:fastcsv:4.4.0")
implementation("com.maxmind.geoip2:geoip2:5.2.0")
implementation("org.tukaani:xz:1.12")
implementation("com.squareup.okhttp3:okhttp:5.4.0")
implementation("org.apache.commons:commons-collections4:4.5.0")
//implementation("com.baomidou:mybatis-plus-generator:3.5.14")
//implementation("org.freemarker:freemarker:2.3.34")
//implementation("org.apache.kafka:kafka-streams")
//implementation("org.flywaydb:flyway-database-postgresql")
implementation("org.thymeleaf.extras:thymeleaf-extras-springsecurity6")
compileOnly("org.projectlombok:lombok")
compileOnly("org.jetbrains:annotations:26.1.0")
developmentOnly("org.springframework.boot:spring-boot-devtools")
runtimeOnly("io.micrometer:micrometer-registry-prometheus")
implementation("org.postgresql:postgresql")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
annotationProcessor("org.projectlombok:lombok")
testImplementation("org.springframework.boot:spring-boot-starter-actuator-test")
testImplementation("org.springframework.boot:spring-boot-starter-batch-jdbc-test")
testImplementation("org.springframework.boot:spring-boot-starter-batch-test")
testImplementation("org.springframework.boot:spring-boot-starter-cache-test")
testImplementation("org.springframework.boot:spring-boot-starter-data-redis-test")
//testImplementation("org.springframework.boot:spring-boot-starter-flyway-test")
testImplementation("org.springframework.boot:spring-boot-starter-jdbc-test")
testImplementation("org.springframework.boot:spring-boot-starter-kafka-test")
testImplementation("org.springframework.boot:spring-boot-starter-mail-test")
testImplementation("org.springframework.boot:spring-boot-starter-quartz-test")
testImplementation("org.springframework.boot:spring-boot-starter-restclient-test")
testImplementation("org.springframework.boot:spring-boot-starter-security-oauth2-client-test")
testImplementation("org.springframework.boot:spring-boot-starter-security-test")
testImplementation("org.springframework.boot:spring-boot-starter-session-data-redis-test")
testImplementation("org.springframework.boot:spring-boot-starter-thymeleaf-test")
testImplementation("org.springframework.boot:spring-boot-starter-webmvc-test")
testImplementation("org.springframework.boot:spring-boot-starter-websocket-test")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.2")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.22.2")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-guava:2.22.2")
implementation("com.fasterxml.jackson.module:jackson-module-parameter-names:2.22.2")
implementation("com.google.guava:guava:33.4.0-jre")
implementation("com.vdurmont:semver4j:3.1.0")
implementation("com.github.seancfoley:ipaddress:5.6.2")
implementation("com.maxmind.geoip2:geoip2:4.2.0")
implementation("org.kohsuke:github-api:1.330")
implementation("com.baomidou:mybatis-plus-jsqlparser")
implementation("com.github.haifengl:smile-core:5.1.0")
implementation("com.clickhouse:clickhouse-jdbc:0.7.2")
implementation("org.springframework.boot:spring-boot-starter-mail") // mailing
}
tasks.named<BootBuildImage>("bootBuildImage") {
runImage = "paketobuildpacks/ubuntu-noble-run:latest"
}
tasks.named<Test>("test") {
useJUnitPlatform()
}