mirror of https://github.com/rusefi/rusefi.git
only:junit5
This commit is contained in:
parent
1b08a82077
commit
12cf2dad13
|
@ -10,6 +10,8 @@ allprojects {
|
|||
dependencies {
|
||||
implementation global_libs.annotations
|
||||
testImplementation global_libs.junit
|
||||
testImplementation global_libs.junit5
|
||||
testImplementation global_libs.junit5engine
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,3 +19,9 @@ shadowJar {
|
|||
dependsOn(':enum_to_string:shadowJar')
|
||||
archiveClassifier = ''
|
||||
}
|
||||
|
||||
test {
|
||||
// todo: move into global once junit5 migration is over!
|
||||
// Enable JUnit 5
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package com.rusefi.ldmp;
|
||||
|
||||
import com.rusefi.ReaderProvider;
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.Map;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package com.rusefi.ldmp;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.StringReader;
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
ext {
|
||||
global_libs = [
|
||||
junit : "junit:junit:4.13.2",
|
||||
junit5 : 'org.junit.jupiter:junit-jupiter-api:5.10.1',
|
||||
junit5 : "org.junit.jupiter:junit-jupiter-api:$junit5Version",
|
||||
junit5engine : "org.junit.jupiter:junit-jupiter-engine:$junit5Version",
|
||||
annotations : "org.jetbrains:annotations:16.0.1",
|
||||
jsr305 : "com.google.code.findbugs:jsr305:3.0.2",
|
||||
antlr : "org.antlr:antlr4:4.13.0",
|
||||
|
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
shadowVersion=8.1.1
|
||||
javaCanVersion=3.2.4
|
||||
junit5Version=5.10.1
|
||||
|
||||
org.gradle.warning.mode=all
|
Loading…
Reference in New Issue