-
Notifications
You must be signed in to change notification settings - Fork 1
Description
build.gradle.kts
--- snip ---
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "3.0.2"
id("io.spring.dependency-management") version "1.1.0"
id("com.github.ben-manes.versions") version "0.45.0"
kotlin("jvm") version "1.8.10"
kotlin("plugin.spring") version "1.8.10"
}
group = "eu.wojciechzurek.example"
version = "0.0.2-SNAPSHOT"
repositories {
mavenCentral()
}
extra["springCloudVersion"] = "2022.0.1"
dependencies {
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
implementation("org.springframework.cloud:spring-cloud-function-web")
implementation("org.springframework.cloud:spring-cloud-function-kotlin")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
}
dependencyManagement {
imports {
mavenBom("org.springframework.cloud:spring-cloud-dependencies:${property("springCloudVersion")}")
}
}
tasks.withType {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17"
}
}
--- snip ---