-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.gradle
73 lines (61 loc) · 2.15 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '2.0.10'
id 'org.jetbrains.kotlin.plugin.spring' version '2.0.10'
id 'org.springframework.boot' version '3.3.4'
id 'io.spring.dependency-management' version '1.1.6'
id 'org.jetbrains.kotlin.plugin.jpa' version '2.0.10'
id "io.gitlab.arturbosch.detekt" version "1.23.7"
}
detekt {
buildUponDefaultConfig = true
config = files(file("config/detekt/detekt.yml"))
}
group 'net.yogstation'
version '1.0-SNAPSHOT'
apply plugin: 'kotlin-kapt'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
}
dependencyLocking {
lockAllConfigurations()
}
dependencies {
kapt 'org.hibernate:hibernate-jpamodelgen:6.5.3.Final'
kapt 'org.springframework.boot:spring-boot-configuration-processor'
detektPlugins "io.gitlab.arturbosch.detekt:detekt-rules-libraries:1.23.7"
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin'
implementation 'io.projectreactor.kotlin:reactor-kotlin-extensions'
implementation 'org.jetbrains.kotlin:kotlin-reflect'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-reactor'
implementation 'com.mysql:mysql-connector-j'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.projectreactor:reactor-test'
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit5'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
constraints {
// Example pinned dependency
// implementation('org.springframework:spring-web:5.3.36'){
// because 'Patch CVE-2024-22243, CVE-2024-22259, CVE-2024-22262'
// }
}
implementation 'com.discord4j:discord4j-core:3.2.6'
implementation 'org.apache.commons:commons-text:1.12.0'
implementation 'ch.qos.logback:logback-classic:1.5.8'
implementation 'ch.qos.logback:logback-core:1.5.8'
}
kotlin {
compilerOptions {
freeCompilerArgs.addAll '-Xjsr305=strict'
}
}
tasks.named('test') {
useJUnitPlatform()
}