You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
930 B
40 lines
930 B
|
2 years ago
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||
|
|
|
||
|
|
plugins {
|
||
|
|
id("org.springframework.boot") version "3.2.4"
|
||
|
|
id("io.spring.dependency-management") version "1.1.4"
|
||
|
|
kotlin("jvm") version libs.versions.kotlin
|
||
|
|
kotlin("plugin.serialization") version libs.versions.kotlin
|
||
|
|
kotlin("plugin.spring") version libs.versions.kotlin
|
||
|
|
}
|
||
|
|
|
||
|
|
group = "tv.anypoint"
|
||
|
|
version = "0.0.1-SNAPSHOT"
|
||
|
|
|
||
|
|
java {
|
||
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
||
|
|
}
|
||
|
|
|
||
|
|
repositories {
|
||
|
|
mavenCentral()
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation("org.springframework.boot:spring-boot-starter")
|
||
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
||
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||
|
|
|
||
|
|
implementation(libs.bundles.deps)
|
||
|
|
}
|
||
|
|
|
||
|
|
tasks.withType<KotlinCompile> {
|
||
|
|
kotlinOptions {
|
||
|
|
freeCompilerArgs += "-Xjsr305=strict"
|
||
|
|
jvmTarget = "21"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
tasks.withType<Test> {
|
||
|
|
useJUnitPlatform()
|
||
|
|
}
|