69 lines
1.8 KiB
Plaintext
69 lines
1.8 KiB
Plaintext
plugins {
|
|
id("java")
|
|
kotlin("jvm")
|
|
kotlin("plugin.spring")
|
|
id("org.springframework.boot")
|
|
id("io.spring.dependency-management")
|
|
}
|
|
|
|
group = "no.iktdev.mediaprocessing"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://jitpack.io")
|
|
maven {
|
|
url = uri("https://reposilite.iktdev.no/releases")
|
|
}
|
|
maven {
|
|
url = uri("https://reposilite.iktdev.no/snapshots")
|
|
}
|
|
}
|
|
|
|
val exposedVersion = "0.44.0"
|
|
|
|
dependencies {
|
|
implementation(kotlin("stdlib-jdk8"))
|
|
|
|
|
|
implementation("org.springframework.boot:spring-boot-starter-web:3.0.4")
|
|
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.14.2")
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
|
|
|
implementation("com.google.code.gson:gson:2.9.0")
|
|
implementation("org.springframework.boot:spring-boot-starter-websocket:2.6.3")
|
|
implementation("io.github.microutils:kotlin-logging-jvm:2.0.11")
|
|
implementation("com.github.vishna:watchservice-ktx:master-SNAPSHOT")
|
|
|
|
implementation("org.jetbrains.exposed:exposed-core:$exposedVersion")
|
|
implementation("org.jetbrains.exposed:exposed-dao:$exposedVersion")
|
|
implementation("org.jetbrains.exposed:exposed-jdbc:$exposedVersion")
|
|
implementation("org.jetbrains.exposed:exposed-java-time:$exposedVersion")
|
|
implementation ("mysql:mysql-connector-java:8.0.29")
|
|
|
|
implementation(libs.exfl)
|
|
implementation(project(mapOf("path" to ":shared:common")))
|
|
|
|
|
|
testImplementation(platform("org.junit:junit-bom:5.9.1"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
kotlin {
|
|
jvmToolchain(21)
|
|
}
|
|
|
|
tasks.bootJar {
|
|
archiveFileName.set("app.jar")
|
|
launchScript()
|
|
}
|
|
|
|
tasks.jar {
|
|
archiveFileName.set("app.jar")
|
|
archiveBaseName.set("app")
|
|
} |