46 lines
1.1 KiB
Groovy
46 lines
1.1 KiB
Groovy
plugins {
|
|
id 'org.jetbrains.kotlin.jvm' version '1.9.23'
|
|
id 'org.jetbrains.kotlin.plugin.spring' version '1.9.23'
|
|
id 'org.springframework.boot' version '3.2.4'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
}
|
|
|
|
group 'org.mosad'
|
|
version '1.3.1'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web:3.2.4'
|
|
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.9.23'
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0'
|
|
implementation 'org.jsoup:jsoup:1.17.2'
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
|
|
testLogging {
|
|
events 'PASSED', 'FAILED', 'SKIPPED'
|
|
}
|
|
}
|
|
|
|
def jvmTargetVersion = "21"
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = jvmTargetVersion
|
|
}
|
|
compileJava {
|
|
targetCompatibility = jvmTargetVersion
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = jvmTargetVersion
|
|
}
|
|
compileTestJava {
|
|
targetCompatibility = jvmTargetVersion
|
|
}
|