99 lines
3.2 KiB
Plaintext
99 lines
3.2 KiB
Plaintext
plugins {
|
|
id("java")
|
|
kotlin("jvm")
|
|
kotlin("plugin.spring") version "1.5.31"
|
|
id("org.springframework.boot") version "3.2.0"
|
|
id("io.spring.dependency-management") version "1.1.4"
|
|
id("org.jetbrains.kotlin.plugin.serialization") version "1.5.0" // Legg til Kotlin Serialization-plugin
|
|
}
|
|
|
|
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 {
|
|
|
|
/*Spring boot*/
|
|
implementation("org.springframework.boot:spring-boot-starter")
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.springframework.boot:spring-boot-starter-actuator")
|
|
implementation("org.springframework.boot:spring-boot-starter-websocket")
|
|
implementation("org.springframework:spring-tx")
|
|
|
|
|
|
implementation("io.github.microutils:kotlin-logging-jvm:2.0.11")
|
|
implementation("com.google.code.gson:gson:2.8.9")
|
|
implementation("org.json:json:20210307")
|
|
|
|
implementation("no.iktdev:exfl:0.0.16-SNAPSHOT")
|
|
implementation("no.iktdev.streamit.library:streamit-library-db:1.0-rc1")
|
|
|
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1")
|
|
implementation("com.github.vishna:watchservice-ktx:master-SNAPSHOT")
|
|
|
|
//implementation(project(mapOf("path" to ":shared")))
|
|
|
|
implementation(project(mapOf("path" to ":shared:eventi")))
|
|
implementation(project(mapOf("path" to ":shared:common")))
|
|
|
|
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("org.jetbrains.kotlin:kotlin-stdlib")
|
|
implementation(kotlin("stdlib-jdk8"))
|
|
testImplementation("org.assertj:assertj-core:3.21.0")
|
|
|
|
testImplementation("junit:junit:4.12")
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.14.2")
|
|
|
|
testImplementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.0")
|
|
testImplementation("org.skyscreamer:jsonassert:1.5.0")
|
|
testImplementation("org.mockito:mockito-core:3.+")
|
|
|
|
testImplementation(platform("org.junit:junit-bom:5.9.1"))
|
|
testImplementation("org.assertj:assertj-core:3.4.1")
|
|
testImplementation("org.mockito:mockito-core:3.+")
|
|
testImplementation("org.assertj:assertj-core:3.4.1")
|
|
|
|
testImplementation(platform("org.junit:junit-bom:5.9.1"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
testImplementation("junit:junit:4.13.2")
|
|
testImplementation("org.mockito:mockito-core:3.+")
|
|
testImplementation("org.assertj:assertj-core:3.4.1")
|
|
testImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0")
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(17)
|
|
}
|
|
|
|
tasks.bootJar {
|
|
archiveFileName.set("app.jar")
|
|
launchScript()
|
|
}
|
|
|
|
tasks.jar {
|
|
archiveFileName.set("app.jar")
|
|
archiveBaseName.set("app")
|
|
} |