import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id("org.springframework.boot") version "3.1.0" id("io.spring.dependency-management") version "1.1.0" kotlin("jvm") version "1.8.21" kotlin("plugin.spring") version "1.8.21" } group = "net.piedpiper" version = "0.0.1-SNAPSHOT" java.sourceCompatibility = JavaVersion.VERSION_17 repositories { mavenCentral() } dependencies { implementation("org.springframework.boot:spring-boot-starter-security:3.1.0") implementation("org.springframework.boot:spring-boot-starter-web:3.1.0") implementation("org.springframework.boot:spring-boot-starter-validation:3.1.0") implementation("org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.2") implementation("org.apache.logging.log4j:log4j-api:2.20.0") implementation("org.apache.logging.log4j:log4j-core:2.20.0") implementation("org.jetbrains.kotlin:kotlin-reflect:1.8.21") implementation("com.fasterxml.jackson.module:jackson-module-kotlin") runtimeOnly("mysql:mysql-connector-java:8.0.33") testImplementation("org.springframework.boot:spring-boot-starter-test") testImplementation("org.springframework.security:spring-security-test") } tasks.withType<KotlinCompile> { kotlinOptions { freeCompilerArgs = listOf("-Xjsr305=strict") jvmTarget = "17" } } tasks.withType<Test> { useJUnitPlatform() }