File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ allprojects {
2424 sourceCompatibility = JavaVersion . VERSION_1_8
2525 targetCompatibility = JavaVersion . VERSION_1_8
2626
27- tasks. withType(JavaCompile ) {
27+ tasks. withType(JavaCompile ). configureEach {
2828 options. encoding = ' UTF-8'
2929 }
3030
@@ -120,7 +120,7 @@ subprojects {
120120 }
121121 }
122122
123- tasks. withType(Test ) {
123+ tasks. withType(Test ). configureEach {
124124 // Enable JUnit 5 (Gradle 4.6+).
125125 useJUnitPlatform()
126126
@@ -138,5 +138,8 @@ subprojects {
138138 // prevent circular dependency
139139 implementation project(' :core' )
140140 }
141+
142+ testImplementation ' org.junit.jupiter:junit-jupiter-api:5.11.0'
143+ testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.11.0'
141144 }
142145}
You can’t perform that action at this time.
0 commit comments