@@ -125,10 +125,12 @@ class Tags {
125125 }
126126}
127127
128- ext. junit4Version = ' 4.12'
129- ext. junitVintageVersion = ' 4.12.0-M2'
130- ext. junitPlatformVersion = ' 1.0.0-M2'
131- ext. junitJupiterVersion = ' 5.0.0-M2'
128+ ext {
129+ junit4Version = ' 4.12'
130+ junitVintageVersion = ' 4.12.0-M2'
131+ junitPlatformVersion = ' 1.0.0-M2'
132+ junitJupiterVersion = ' 5.0.0-M2'
133+ }
132134
133135subprojects {
134136 apply plugin : ' com.github.johnrengelman.shadow'
@@ -146,7 +148,7 @@ subprojects {
146148 }
147149
148150 dependencies {
149- // compile 'junit:junit:4.12'
151+ // compile 'junit:junit:4.12'
150152 compile group : ' org.slf4j' , name : ' slf4j-api' , version : ' 1.7.+'
151153 compile group : ' ch.qos.logback' , name : ' logback-classic' , version : ' 1.+'
152154 // You can also use the JDK's built-in logging as the back end:
@@ -159,11 +161,12 @@ subprojects {
159161 // If you also want to support JUnit 3 and JUnit 4 tests
160162 testCompile("junit:junit:${junit4Version}")
161163 testRuntime("org.junit.vintage:junit-vintage-engine:${junitVintageVersion}")*/
164+ compile " org.junit.jupiter:junit-jupiter-api:5.0.0-M2"
162165 testCompile " org.junit.jupiter:junit-jupiter-api:5.0.0-M2"
163166 testRuntime " org.junit.jupiter:junit-jupiter-engine:5.0.0-M2"
164- testCompile " junit:junit:4.12"
167+ /* testCompile "junit:junit:4.12"
165168 testRuntime "org.junit.vintage:junit-vintage-engine:4.12.0-M2"
166- /* compile "org.junit.jupiter:junit-jupiter-api:5.0.0-M2"
169+ */ /* compile "org.junit.jupiter:junit-jupiter-api:5.0.0-M2"
167170 compile "org.junit.vintage:junit-vintage-engine:4.12.0-M2"*/
168171 }
169172
0 commit comments