-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
77 lines (57 loc) · 1.68 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
76
77
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
alias(libs.plugins.kotlin)
alias(libs.plugins.kotlin.spring)
alias(libs.plugins.springboot)
alias(libs.plugins.springboot.dependencyManagement)
alias(libs.plugins.ktlint)
alias(libs.plugins.jib)
}
kotlin {
jvmToolchain(17)
}
group = "oscar.c.pozas"
version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
// Shared kernel
implementation(project(":kernel"))
// Libs
implementation(project(":lib:spring-base"))
// Contexts
implementation(project(":context:pokemon"))
implementation("org.springframework.boot:spring-boot-starter-actuator")
// Spring cloud dependencies
implementation(libs.springcloud.openFeign)
// Jackson parser
implementation(libs.jackson.kotlin)
// Postgres SQL Driver
implementation(libs.postgresql)
// Exposed Kotlin SQL DSL
implementation(libs.exposed.core)
implementation(libs.exposed.dao)
implementation(libs.exposed.jdbc)
// Shedlock scheduler
implementation(libs.shedlock.spring)
implementation(libs.shedlock.redis)
// Test dependencies
testImplementation(libs.springboot.test)
testImplementation(libs.mockk)
testImplementation(libs.restAssured.core)
testImplementation(libs.restAssured.kotlin)
testImplementation(libs.wiremock)
testImplementation(libs.embeddedDatabase)
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17"
}
}
tasks.withType<Test> {
useJUnitPlatform()
}