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:
2019-08-16 13:59:44 +02:00
parent e89201c951
commit a0fceccc2f
5 changed files with 730 additions and 13 deletions

View File

@ -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 {