-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
69 lines (51 loc) · 1.84 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
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "3.3.2"
id("io.spring.dependency-management") version "1.1.6"
kotlin("jvm") version "2.0.0"
kotlin("plugin.spring") version "2.0.0"
application
}
group = "com.carbonara"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-webflux")
// logging
implementation("io.github.microutils:kotlin-logging-jvm:3.0.5")
implementation("org.slf4j:slf4j-api:2.0.13")
implementation("ch.qos.logback:logback-classic:1.4.12")
// Necessary for asynchronous code
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1")
// GraphQl
implementation("com.expediagroup:graphql-kotlin-spring-server:8.0.0-alpha.1")
// MongoDB
implementation("org.springframework.boot:spring-boot-starter-data-mongodb-reactive")
implementation("org.springframework.boot:spring-boot-starter-data-mongodb")
// Auth0
implementation("com.okta.spring:okta-spring-boot-starter:3.0.7")
// Google Cloud secret manager
implementation("com.google.cloud:spring-cloud-gcp-starter-secretmanager:5.5.0")
// Google places
implementation("com.google.maps:google-maps-services:2.2.0")
// Mollie
implementation("be.woutschoovaerts:mollie:4.3.0")
// Slack
implementation("com.slack.api:slack-api-model-kotlin-extension:1.42.0")
implementation("com.slack.api:slack-api-client-kotlin-extension:1.42.0")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.mockk:mockk:1.13.11")
}
tasks.withType<KotlinCompile> {
compilerOptions {
freeCompilerArgs.add("-Xjsr305=strict")
jvmTarget.set(JvmTarget.JVM_17)
}
}
tasks.withType<Test> {
useJUnitPlatform()
}