1 | plugins {
|
---|
2 | id("org.springframework.boot") version "3.3.1"
|
---|
3 | id("io.spring.dependency-management") version "1.1.5"
|
---|
4 | kotlin("jvm") version "1.9.24"
|
---|
5 | kotlin("plugin.spring") version "1.9.24"
|
---|
6 | kotlin("plugin.jpa") version "1.9.24"
|
---|
7 | }
|
---|
8 |
|
---|
9 | group = "mk.ukim.finki"
|
---|
10 | version = "0.0.1-SNAPSHOT"
|
---|
11 |
|
---|
12 | java {
|
---|
13 | toolchain {
|
---|
14 | languageVersion = JavaLanguageVersion.of(17)
|
---|
15 | }
|
---|
16 | }
|
---|
17 |
|
---|
18 | repositories {
|
---|
19 | mavenCentral()
|
---|
20 | }
|
---|
21 |
|
---|
22 | dependencies {
|
---|
23 | testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
|
---|
24 | testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
---|
25 | implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1")
|
---|
26 | implementation("com.pinterest.ktlint:ktlint-cli:1.3.0")
|
---|
27 | implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
---|
28 | implementation("org.springframework.boot:spring-boot-starter-websocket")
|
---|
29 | implementation("org.springframework.boot:spring-boot-starter-security")
|
---|
30 | implementation("org.springframework.boot:spring-boot-starter-oauth2-client")
|
---|
31 | implementation("org.springframework.boot:spring-boot-starter-web")
|
---|
32 | implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
---|
33 | implementation("org.flywaydb:flyway-core")
|
---|
34 | runtimeOnly("org.flywaydb:flyway-database-postgresql:10.15.0")
|
---|
35 | implementation("org.jetbrains.kotlin:kotlin-reflect")
|
---|
36 | implementation("io.jsonwebtoken:jjwt-api:0.12.5")
|
---|
37 | runtimeOnly("org.postgresql:postgresql")
|
---|
38 | implementation("io.jsonwebtoken:jjwt-impl:0.12.5")
|
---|
39 | implementation("io.jsonwebtoken:jjwt-jackson:0.12.5")
|
---|
40 | testImplementation("org.springframework.boot:spring-boot-starter-test")
|
---|
41 | }
|
---|
42 |
|
---|
43 | kotlin {
|
---|
44 | compilerOptions {
|
---|
45 | freeCompilerArgs.addAll("-Xjsr305=strict")
|
---|
46 | }
|
---|
47 | }
|
---|
48 |
|
---|
49 | tasks.withType<Test> {
|
---|
50 | useJUnitPlatform()
|
---|
51 | }
|
---|