Skip to content

Commit 2a33825

Browse files
committed
Update dependencies in build.gradle for JUnit and set version to 3.2.0-RC1-SNAPSHOT
1 parent 97bf5a7 commit 2a33825

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.githooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
22

3-
./gradlew spotlessApply > /dev/null
3+
./gradlew spotlessApply
44

55
git add -u

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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 {

classpath-replacer/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
dependencies {
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

1010
apply from: "${rootDir}/gradle/deploy.gradle"

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=io.github.danielliu1123
2-
version=3.1.1-SNAPSHOT
2+
version=3.2.0-RC1-SNAPSHOT
33

44
# https://github.com/junit-team/junit5
55
junitVersion=5.11.4

0 commit comments

Comments
 (0)