added junit test for MensaParser
* updated kotlin 1.3.31 -> 1.3.41 * updated spring boot 2.1.5 -> 2.1.7 * updated coroutines 1.2.1 -> 1.2.2 * reworked MensaParser to make it testable
This commit is contained in:
12
build.gradle
12
build.gradle
@ -1,7 +1,7 @@
|
||||
|
||||
buildscript {
|
||||
ext.kotlin_version = '1.3.31'
|
||||
ext.spring_boot_version = '2.1.5.RELEASE'
|
||||
ext.kotlin_version = '1.3.41'
|
||||
ext.spring_boot_version = '2.1.7.RELEASE'
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
@ -19,15 +19,21 @@ apply plugin: 'kotlin-spring'
|
||||
apply plugin: 'org.springframework.boot'
|
||||
apply plugin: 'io.spring.dependency-management'
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.1"
|
||||
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.2"
|
||||
implementation 'org.jsoup:jsoup:1.12.1'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.5.1")
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
|
Reference in New Issue
Block a user