File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed
Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- ./gradlew spotlessApply > /dev/null
3+ ./gradlew spotlessApply
44
55git add -u
Original file line number Diff line number Diff line change @@ -30,6 +30,11 @@ allprojects {
3030 test {
3131 useJUnitPlatform()
3232 }
33+ dependencies {
34+ testImplementation(platform(" org.junit:junit-bom:${ junitVersion} " ))
35+ testImplementation(" org.junit.jupiter:junit-jupiter" )
36+ testRuntimeOnly(" org.junit.platform:junit-platform-launcher" )
37+ }
3338 // spotless
3439 apply plugin : ' com.diffplug.spotless'
3540 spotless {
Original file line number Diff line number Diff line change 11dependencies {
2- api (platform(" org.junit:junit-bom:${ junitVersion} " ))
2+ compileOnly (platform(" org.junit:junit-bom:${ junitVersion} " ))
33
44 api(" org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-impl-maven:${ shrinkwrapResolversVersion} " )
55
6- api (" org.junit.jupiter:junit-jupiter" )
7- api (" org.junit.platform:junit-platform-launcher" )
6+ compileOnly (" org.junit.jupiter:junit-jupiter" )
7+ compileOnly (" org.junit.platform:junit-platform-launcher" )
88}
99
1010apply from : " ${ rootDir} /gradle/deploy.gradle"
Original file line number Diff line number Diff line change 11group =io.github.danielliu1123
2- version =3.1.1 -SNAPSHOT
2+ version =3.2.0-RC1 -SNAPSHOT
33
44# https://github.com/junit-team/junit5
55junitVersion =5.11.4
You can’t perform that action at this time.
0 commit comments