2020-07-29 18:27:07 -04:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
2022-04-13 11:02:20 -04:00
|
|
|
id("org.springframework.boot") version "3.0.0-SNAPSHOT"
|
2022-03-17 13:44:26 -04:00
|
|
|
id("io.spring.dependency-management") version "1.0.11.RELEASE"
|
2021-12-03 09:45:10 -05:00
|
|
|
kotlin("jvm") version "1.6.0"
|
|
|
|
kotlin("plugin.spring") version "1.6.0"
|
2020-07-29 18:27:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
2021-05-27 12:04:32 -04:00
|
|
|
url = uri("https://repo.spring.io/snapshot")
|
2020-07-29 18:27:07 -04:00
|
|
|
}
|
2022-03-17 13:44:26 -04:00
|
|
|
maven {
|
|
|
|
url = uri("https://repo.spring.io/milestone")
|
|
|
|
}
|
2020-07-29 18:27:07 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-webflux")
|
2022-03-17 13:44:26 -04:00
|
|
|
implementation("org.thymeleaf.extras:thymeleaf-extras-springsecurity6")
|
2020-07-29 18:27:07 -04:00
|
|
|
implementation("io.projectreactor.kotlin:reactor-kotlin-extensions")
|
|
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor")
|
|
|
|
|
|
|
|
testImplementation("org.springframework.security:spring-security-test")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test") {
|
|
|
|
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
|
|
|
|
}
|
|
|
|
testImplementation("io.projectreactor:reactor-test")
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs = listOf("-Xjsr305=strict")
|
2021-12-03 09:45:10 -05:00
|
|
|
jvmTarget = "17"
|
2020-07-29 18:27:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType<Test> {
|
|
|
|
useJUnitPlatform()
|
2022-03-17 13:44:26 -04:00
|
|
|
}
|