mirror of
https://github.com/pischule/memevizor.git
synced 2025-12-19 06:56:42 +00:00
57 lines
1.4 KiB
Kotlin
57 lines
1.4 KiB
Kotlin
plugins {
|
|
kotlin("jvm") version "2.2.21"
|
|
kotlin("plugin.spring") version "2.2.21"
|
|
id("org.springframework.boot") version "4.0.0"
|
|
id("io.spring.dependency-management") version "1.1.7"
|
|
id("com.diffplug.spotless") version "8.1.0"
|
|
}
|
|
|
|
group = "com.pischule"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom(configurations.annotationProcessor.get())
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://jitpack.io")
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter")
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
implementation("io.github.kotlin-telegram-bot.kotlin-telegram-bot:telegram:6.3.0")
|
|
implementation("io.github.oshai:kotlin-logging-jvm:7.0.3")
|
|
implementation("io.minio:minio:8.6.0")
|
|
developmentOnly("org.springframework.boot:spring-boot-devtools")
|
|
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()
|
|
}
|
|
|
|
spotless {
|
|
kotlin {
|
|
ktfmt("0.54").kotlinlangStyle()
|
|
}
|
|
}
|