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