mirror of
https://github.com/pcvolkmer/grz-metadata-processor.git
synced 2025-07-01 12:02:54 +00:00
55 lines
1.7 KiB
Plaintext
55 lines
1.7 KiB
Plaintext
plugins {
|
|
kotlin("jvm") version "2.1.21"
|
|
kotlin("plugin.spring") version "2.1.21"
|
|
id("org.springframework.boot") version "3.5.0"
|
|
id("io.spring.dependency-management") version "1.1.7"
|
|
}
|
|
|
|
group = "dev.pcvolkmer.onco"
|
|
version = "0.1.0-SNAPSHOT"
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom(configurations.annotationProcessor.get())
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jdbc")
|
|
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
implementation("org.flywaydb:flyway-database-postgresql")
|
|
implementation("org.flywaydb:flyway-mysql")
|
|
implementation("org.springframework.integration:spring-integration-file")
|
|
developmentOnly("org.springframework.boot:spring-boot-devtools")
|
|
developmentOnly("org.springframework.boot:spring-boot-docker-compose")
|
|
runtimeOnly("org.mariadb.jdbc:mariadb-java-client")
|
|
runtimeOnly("org.postgresql:postgresql")
|
|
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
freeCompilerArgs.addAll("-Xjsr305=strict")
|
|
}
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|