-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle.kts
75 lines (61 loc) · 1.91 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
val kotlinVersion = "2.1.20-Beta1"
id("org.jetbrains.kotlin.jvm") version kotlinVersion
id("org.jetbrains.kotlin.plugin.spring") version kotlinVersion
id("org.jetbrains.kotlin.plugin.allopen") version kotlinVersion
id("org.jetbrains.kotlin.plugin.jpa") version kotlinVersion
id("org.springframework.boot") version "3.4.1"
id("io.spring.dependency-management") version "1.1.7"
id("org.ec4j.editorconfig") version "0.1.0"
id("idea")
java
}
group = "anissia"
version = "1.0"
repositories {
mavenCentral()
}
idea {
module {
excludeDirs = listOf("build", "logs", "out", "tmp").map { file(it) }.toSet()
}
}
dependencies {
// JPA query dsl
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-mail")
// DB connector
implementation("com.zaxxer:HikariCP")
runtimeOnly("org.mariadb.jdbc:mariadb-java-client")
// elasticsearch
implementation("org.elasticsearch.client:elasticsearch-rest-client:8.17.0")
// lib
implementation("me.saro:kit:0.2.3")
implementation("org.mindrot:jbcrypt:0.4")
implementation("me.saro:jwt:3.0.0")
// logger
implementation("org.slf4j:slf4j-api")
implementation("ch.qos.logback:logback-classic")
// spring
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-validation")
// test
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.graphql:spring-graphql-test")
testImplementation("org.springframework.boot:spring-boot-starter-webflux")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(23))
}
}
kotlin {
compilerOptions {
jvmTarget.set(JvmTarget.JVM_23)
}
}
configure<JavaPluginExtension> {
sourceCompatibility = JavaVersion.VERSION_23
targetCompatibility = JavaVersion.VERSION_23
}