Skip to content

Commit 38f3104

Browse files
committed
Upgrade Gradle IntelliJ plugin and make sure tests are run properly
1 parent f8cd018 commit 38f3104

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import com.hierynomus.gradle.license.tasks.LicenseCheck
22
import com.hierynomus.gradle.license.tasks.LicenseFormat
33

44
plugins {
5-
id "org.jetbrains.intellij" version "1.1.4"
5+
id "org.jetbrains.intellij" version "1.5.2"
66
id "com.github.hierynomus.license" version "0.14.0"
77
id "de.undercouch.download" version "4.1.2"
88
id 'org.jetbrains.kotlin.jvm' version '1.4.31'
@@ -110,6 +110,10 @@ dependencies {
110110
testCompile group: 'junit', name: 'junit', version: '4.12'
111111
testCompile group: 'org.assertj', name: 'assertj-core', version: '3.11.1'
112112
testCompile group: 'org.apache.commons', name: 'commons-text', version: '1.9'
113+
testImplementation(platform('org.junit:junit-bom:5.8.2'))
114+
testImplementation('org.junit.jupiter:junit-jupiter')
115+
testImplementation('org.junit.jupiter:junit-jupiter')
116+
testRuntimeOnly("org.junit.vintage:junit-vintage-engine")
113117
}
114118

115119
task libs(type: Sync) {
@@ -159,6 +163,7 @@ task downloadMockJdk8() {
159163
test.dependsOn( libs, downloadMockJdk7, downloadMockJdk8 )
160164

161165
test {
166+
useJUnitPlatform()
162167
testLogging {
163168
exceptionFormat = 'full'
164169
}

0 commit comments

Comments
 (0)