mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Unified junit version, update junit to 5.4.2
This commit is contained in:
parent
bfd8a0068c
commit
7402856b41
@ -99,8 +99,8 @@ fun Project.configureKotlinTestSettings() {
|
||||
dependencies {
|
||||
testImplementation(kotlin("test-junit5"))
|
||||
|
||||
testApi("org.junit.jupiter:junit-jupiter-api:5.2.0")
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.2.0")
|
||||
testApi("org.junit.jupiter:junit-jupiter-api:${Versions.junit}")
|
||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${Versions.junit}")
|
||||
}
|
||||
}
|
||||
isKotlinMpp -> {
|
||||
@ -114,8 +114,8 @@ fun Project.configureKotlinTestSettings() {
|
||||
sourceSet.dependencies {
|
||||
implementation(kotlin("test-junit5"))
|
||||
|
||||
implementation("org.junit.jupiter:junit-jupiter-api:5.2.0")
|
||||
implementation("org.junit.jupiter:junit-jupiter-engine:5.2.0")
|
||||
implementation("org.junit.jupiter:junit-jupiter-api:${Versions.junit}")
|
||||
implementation("org.junit.jupiter:junit-jupiter-engine:${Versions.junit}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -35,6 +35,8 @@ object Versions {
|
||||
|
||||
const val blockingBridge = "1.6.0"
|
||||
|
||||
const val junit = "5.4.2"
|
||||
|
||||
@Suppress("SpellCheckingInspection")
|
||||
const val yamlkt = "0.7.5"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user