mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-15 16:20:03 +00:00
64 lines
1.8 KiB
Kotlin
64 lines
1.8 KiB
Kotlin
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
id("org.springframework.boot") version "3.2.2"
|
|
id("io.spring.dependency-management") version "1.1.4"
|
|
id("com.vaadin") version "24.3.3"
|
|
kotlin("jvm") version "1.9.22"
|
|
kotlin("plugin.spring") version "1.9.22"
|
|
kotlin("plugin.jpa") version "1.9.22"
|
|
}
|
|
|
|
group = "de.grimsi"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom(configurations.annotationProcessor.get())
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
extra["vaadinVersion"] = "24.3.3"
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-actuator")
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
implementation("org.springframework.boot:spring-boot-starter-oauth2-client")
|
|
implementation("org.springframework.boot:spring-boot-starter-security")
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
|
implementation("com.vaadin:vaadin-spring-boot-starter")
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
developmentOnly("org.springframework.boot:spring-boot-devtools")
|
|
runtimeOnly("com.h2database:h2")
|
|
runtimeOnly("io.micrometer:micrometer-registry-prometheus")
|
|
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
testImplementation("org.springframework.security:spring-security-test")
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom("com.vaadin:vaadin-bom:${property("vaadinVersion")}")
|
|
}
|
|
}
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
kotlinOptions {
|
|
freeCompilerArgs += "-Xjsr305=strict"
|
|
jvmTarget = "21"
|
|
}
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|