2023-10-08 08:46:54 +00:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'org.springframework.boot' version '3.1.4'
|
|
|
|
id 'io.spring.dependency-management' version '1.1.3'
|
|
|
|
id 'org.jetbrains.kotlin.jvm' version '1.8.22'
|
|
|
|
id 'org.jetbrains.kotlin.plugin.spring' version '1.8.22'
|
2023-10-08 19:08:31 +00:00
|
|
|
id "org.jetbrains.kotlin.plugin.jpa" version '1.8.22'
|
2023-10-08 08:46:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group = 'net.schowek'
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = '17'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
implementation 'com.fasterxml.jackson.module:jackson-module-kotlin'
|
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-reflect'
|
2023-10-10 13:13:59 +00:00
|
|
|
implementation 'io.github.microutils:kotlin-logging:3.0.5'
|
2023-10-08 19:08:31 +00:00
|
|
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
implementation 'org.mariadb.jdbc:mariadb-java-client:3.2.0'
|
|
|
|
|
|
|
|
implementation 'org.jupnp:org.jupnp:2.7.1'
|
|
|
|
implementation 'org.jupnp:org.jupnp.support:2.7.1'
|
|
|
|
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
|
|
|
|
|
2023-10-08 08:46:54 +00:00
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType(KotlinCompile) {
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs += '-Xjsr305=strict'
|
|
|
|
jvmTarget = '17'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|